|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JackrabbitSecurityManager
JackrabbitSecurityManager
...
Method Summary | |
---|---|
void |
close()
Disposes this security manager instance and cleans all internal caches. |
void |
dispose(String workspaceName)
Disposes those parts of this security manager that are related to the workspace indicated by the given workspaceName . |
AccessManager |
getAccessManager(javax.jcr.Session session,
AMContext amContext)
Retrieve the AccessManager for the given session . |
AuthContext |
getAuthContext(javax.jcr.Credentials creds,
Subject subject)
Returns a new AuthContext for the specified credentials and
subject. |
PrincipalManager |
getPrincipalManager(javax.jcr.Session session)
Retrieve the principal manager for the given session . |
String |
getUserID(Subject subject)
Retrieve the id to be displayed upon Session.getUserID() for
the specified subject. |
UserManager |
getUserManager(javax.jcr.Session session)
Returns the user manager for the specified session . |
void |
init(javax.jcr.Repository repository,
javax.jcr.Session systemSession)
|
Method Detail |
---|
void init(javax.jcr.Repository repository, javax.jcr.Session systemSession) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void dispose(String workspaceName)
workspaceName
.
workspaceName
- Name of the workspace that is being disposed.void close()
AuthContext getAuthContext(javax.jcr.Credentials creds, Subject subject) throws javax.jcr.RepositoryException
AuthContext
for the specified credentials and
subject.
creds
- subject
-
AuthContext
for the given creds
and subject
.
javax.jcr.RepositoryException
AccessManager getAccessManager(javax.jcr.Session session, AMContext amContext) throws javax.jcr.RepositoryException
AccessManager
for the given session
.
session
- amContext
-
AccessManager
for the specified session
.
javax.jcr.RepositoryException
PrincipalManager getPrincipalManager(javax.jcr.Session session) throws javax.jcr.RepositoryException
session
.
session
-
session
.
javax.jcr.UnsupportedRepositoryOperationException
- If principal management
is not supported.
javax.jcr.RepositoryException
- if an error occursUserManager getUserManager(javax.jcr.Session session) throws javax.jcr.RepositoryException
session
.
session
-
session
.
javax.jcr.UnsupportedRepositoryOperationException
- If user management is
not supported.
javax.jcr.RepositoryException
String getUserID(Subject subject) throws javax.jcr.RepositoryException
Session.getUserID()
for
the specified subject.
subject
-
Session.getUserID()
.
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |