|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceAccessManager
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_JAAS_CONTEXT_PROPERTY
System property to override the default JAAS context property (CentraSite). |
Method Summary | |
---|---|
void |
close()
Close the underlying connections if need be. |
javax.security.auth.Subject |
getAuthenticatedSubject()
Get the authenticated (populated with principals) subject. |
com.centrasite.jaxr.CentraSiteConnection |
getConnection()
Get instance of JAXR Connection. |
CentraSiteUser |
getCurrentUser()
Get the currently logged-in user. |
ExternalRepositoryManager |
getExternalRepositoryManager()
Get instance of ExternalRepositoryManager . |
GroupManager |
getGroupManager()
Get instance of GroupManager . |
Importer |
getImporter()
Get instance of Importer . |
PermissionManager |
getPermissionManager()
Get instance of PermissionManager . |
java.lang.String |
getRepositoryType()
Returns type of the external repository being currently used. |
RoleManager |
getRoleManager()
Get instance of RoleManager . |
com.softwareag.security.jaas.interfaces.ITokenManager |
getTokenManagerExternal()
Get the ITokenManager of the first SagUserPrincipal instance |
UserManager |
getUserManager()
Get instance of UserManager . |
void |
open()
Open the underlying connections if need be. |
Methods inherited from interface com.centrasite.jaxr.CentraSiteResourceAccessManager |
---|
shutdown |
Field Detail |
---|
static final java.lang.String SYSTEM_JAAS_CONTEXT_PROPERTY
Method Detail |
---|
com.centrasite.jaxr.CentraSiteConnection getConnection()
RoleManager getRoleManager() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
RoleManager
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.UserManager getUserManager() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
UserManager
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.GroupManager getGroupManager() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
GroupManager
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.PermissionManager getPermissionManager() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
PermissionManager
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.com.softwareag.security.jaas.interfaces.ITokenManager getTokenManagerExternal() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
ExternalRepositoryManager getExternalRepositoryManager() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
ExternalRepositoryManager
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.Importer getImporter() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
Importer
. Only a single instance per ResourceAccessManager.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSiteUser getCurrentUser()
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.void open() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.security.auth.login.LoginException, java.io.IOException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
java.io.IOException
- if an input/output error occurs
javax.security.auth.login.LoginException
void close() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.security.auth.login.LoginException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
javax.security.auth.login.LoginException
javax.security.auth.Subject getAuthenticatedSubject()
java.lang.String getRepositoryType() throws com.softwareag.security.jaas.principals.SagGeneralSecurityException
IUserRepositoryManager
provides implelementation,
this is just a dummy method that will alywas return "OS".
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- in case of error
java.lang.IllegalStateException
- if this RAM instance is not yet opened i.e. open()
called.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |