Package org.opencastproject.fsresources
Class SimpleConfigurableStaticFileAuthorization
java.lang.Object
org.opencastproject.fsresources.SimpleConfigurableStaticFileAuthorization
- All Implemented Interfaces:
org.opencastproject.security.api.StaticFileAuthorization
public class SimpleConfigurableStaticFileAuthorization
extends Object
implements org.opencastproject.security.api.StaticFileAuthorization
A simple static file authorization service which allows access to a configured set of patterns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) booleanverifyUrlAccess(String path)
-
Constructor Details
-
SimpleConfigurableStaticFileAuthorization
public SimpleConfigurableStaticFileAuthorization()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) -
getProtectedUrlPattern
- Specified by:
getProtectedUrlPatternin interfaceorg.opencastproject.security.api.StaticFileAuthorization
-
verifyUrlAccess
- Specified by:
verifyUrlAccessin interfaceorg.opencastproject.security.api.StaticFileAuthorization
-