|
||||||||||
| 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(Session session,
AMContext amContext)
Retrieve the AccessManager for the given session. |
AuthContext |
getAuthContext(Credentials creds,
Subject subject,
String workspaceName)
Returns a new AuthContext for the specified credentials and
subject. |
PrincipalManager |
getPrincipalManager(Session session)
Retrieve the principal manager for the given session. |
String |
getUserID(Subject subject,
String workspaceName)
Retrieve the id to be displayed upon Session.getUserID() for
the specified subject. |
UserManager |
getUserManager(Session session)
Returns the user manager for the specified session. |
void |
init(Repository repository,
Session systemSession)
|
| Method Detail |
|---|
void init(Repository repository,
Session systemSession)
throws RepositoryException
RepositoryExceptionvoid dispose(String workspaceName)
workspaceName.
workspaceName - Name of the workspace that is being disposed.void close()
AuthContext getAuthContext(Credentials creds,
Subject subject,
String workspaceName)
throws RepositoryException
AuthContext for the specified credentials and
subject.
creds - subject - workspaceName - The name of the workspace to login.
AuthContext for the given creds
and subject.
RepositoryException
AccessManager getAccessManager(Session session,
AMContext amContext)
throws RepositoryException
AccessManager for the given session.
session - amContext -
AccessManager for the specified session.
RepositoryException
PrincipalManager getPrincipalManager(Session session)
throws RepositoryException
session.
session -
session.
UnsupportedRepositoryOperationException - If principal management
is not supported.
RepositoryException - if an error occurs
UserManager getUserManager(Session session)
throws RepositoryException
session.
session -
session.
UnsupportedRepositoryOperationException - If user management is
not supported.
RepositoryException
String getUserID(Subject subject,
String workspaceName)
throws RepositoryException
Session.getUserID() for
the specified subject.
subject - workspaceName -
Session.getUserID().
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||