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 Details

    • SimpleConfigurableStaticFileAuthorization

      public SimpleConfigurableStaticFileAuthorization()
  • Method Details

    • activate

      public void activate(org.osgi.service.component.ComponentContext cc)
    • getProtectedUrlPattern

      public List<Pattern> getProtectedUrlPattern()
      Specified by:
      getProtectedUrlPattern in interface org.opencastproject.security.api.StaticFileAuthorization
    • verifyUrlAccess

      public boolean verifyUrlAccess(String path)
      Specified by:
      verifyUrlAccess in interface org.opencastproject.security.api.StaticFileAuthorization