Package org.opencastproject.security.api
Interface StaticFileAuthorization
public interface StaticFileAuthorization
Interface representing an authorization check for a given list of URL patterns.
These rules are to be applied when delivering static content.
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of URL patterns the service is responsible for.booleanverifyUrlAccess(String path) Check a given path for access.
-
Method Details
-
getProtectedUrlPattern
Get the list of URL patterns the service is responsible for.- Returns:
- List of pattern matchers
-
verifyUrlAccess
Check a given path for access.- Parameters:
path- Path to check- Returns:
- if access is allowed
-