|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.security.authorization.AccessControlProviderFactoryImpl
public class AccessControlProviderFactoryImpl
Default implementation of the AccessControlProviderFactory
Constructor Summary | |
---|---|
AccessControlProviderFactoryImpl()
|
Method Summary | |
---|---|
void |
close()
Dispose this AccessControlProviderFactory and its resources. |
AccessControlProvider |
createProvider(Session systemSession,
WorkspaceSecurityConfig config)
Creates an AccessControlProvider for the workspace of the given system session. |
void |
init(Session securitySession)
Initalize this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessControlProviderFactoryImpl()
Method Detail |
---|
public void init(Session securitySession) throws RepositoryException
AccessControlProviderFactory
init
in interface AccessControlProviderFactory
securitySession
- Security Session.
RepositoryException
- If an error occurs.AccessControlProviderFactory.init(Session)
public void close() throws RepositoryException
AccessControlProviderFactory
AccessControlProviderFactory
and its resources.
close
in interface AccessControlProviderFactory
RepositoryException
- if an error occurs.AccessControlProviderFactory.close()
public AccessControlProvider createProvider(Session systemSession, WorkspaceSecurityConfig config) throws RepositoryException
AccessControlProviderFactory
null
or
does not have a provider entry, this factory must create a default
provider. In any case the provider must be initialized before it
is returned to the caller.
createProvider
in interface AccessControlProviderFactory
systemSession
- the system session for the workspace the
AccessControlProvider
should be created for.config
- The security configuration for that workspace or
null
if no config entry is present. In this case the
factory must use its default. The configuration is used to determine
the implementation of AccessControlProvider
to be used
and to retrieve eventual configuration parameters.
RepositoryException
- if an error occursAccessControlProviderFactory.createProvider(Session, WorkspaceSecurityConfig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |