generateCacheKey(String webappUrl, SourceResolver resolver) This implementation uses the publication ID in combination with the context path as cache
key.
public Configuration
getConfiguration(Publication publication) Retrieves access control configuration of a specific publication.
Parameters: publication - The publication.
getPublication(String webappUrl) Returns the publication for the webapp URL or null if the URL is not included in a
publication.
Parameters: webappUrl - The webapp URL.
resolveAccessController(Publication publication, String url) Resolves an access controller for a certain URL within a publication.
Parameters: publication - The publication. Parameters: url - The url within the publication.
Field Detail
AC_CONFIGURATION_FILE
final protected static String AC_CONFIGURATION_FILE(Code)
TYPE_ATTRIBUTE
final protected static String TYPE_ATTRIBUTE(Code)
Retrieves access control configuration of a specific publication.
Parameters: publication - The publication. Configuration throws: AccessControlException - when something went wrong.
Returns the publication for the webapp URL or null if the URL is not included in a
publication.
Parameters: webappUrl - The webapp URL. A publication. throws: AccessControlException - when something went wrong.
Resolves an access controller for a certain URL within a publication.
Parameters: publication - The publication. Parameters: url - The url within the publication. An access controller. throws: AccessControlException - when something went wrong.
Fields inherited from org.apache.lenya.ac.impl.AbstractAccessControllerResolver