|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaasSecurityManagerServiceMBean
The management interface for the JaasSecurityManagerService mbean.
| Field Summary | |
|---|---|
static javax.management.ObjectName |
OBJECT_NAME
|
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Method Summary | |
|---|---|
void |
flushAuthenticationCache(String securityDomain)
Flush the authentication cache associated with the given securityDomain. |
void |
flushAuthenticationCache(String securityDomain,
Principal user)
Flush a principal's authentication cache entry associated with the given securityDomain. |
String |
getAuthenticationCacheJndiName()
Get the jndi name under which the authentication CachePolicy implenentation is found |
List |
getAuthenticationCachePrincipals(String securityDomain)
The the list of active Principls for the given security domain |
String |
getCallbackHandlerClassName()
Get the default CallbackHandler implementation class name |
boolean |
getDeepCopySubjectMode()
A flag indicating if the Deep Copy of Subject Sets should be enabled in the security managers |
int |
getDefaultCacheResolution()
Get the default timed cache policy resolution. |
int |
getDefaultCacheTimeout()
Get the default timed cache policy timeout. |
String |
getDefaultUnauthenticatedPrincipal()
Get the default unauthenticated principal. |
String |
getSecurityManagerClassName()
Get the name of the class that provides the security manager implementation. |
String |
getSecurityProxyFactoryClassName()
Get the name of the class that provides the SecurityProxyFactory implementation. |
boolean |
getServerMode()
A flag indicating if the SecurityAssociation.setServer should be called on service startup. |
void |
registerSecurityDomain(String securityDomain,
SecurityDomain instance)
Register a SecurityDomain implmentation |
void |
setAuthenticationCacheJndiName(String jndiName)
Set the location of the security credential cache policy. |
void |
setCacheTimeout(String securityDomain,
int timeoutInSecs,
int resInSecs)
Set the indicated security domain cache timeout. |
void |
setCallbackHandlerClassName(String className)
Set the default CallbackHandler implementation class name |
void |
setDeepCopySubjectMode(boolean flag)
A flag indicating if the Deep Copy of Subject Sets should be enabled in the security managers |
void |
setDefaultCacheResolution(int resInSecs)
Set the default timed cache policy resolution. |
void |
setDefaultCacheTimeout(int timeoutInSecs)
Set the default timed cache policy timeout. |
void |
setDefaultUnauthenticatedPrincipal(String principal)
Set the default unauthenticated principal. |
void |
setSecurityManagerClassName(String className)
Set the name of the class that provides the security manager implementation. |
void |
setSecurityProxyFactoryClassName(String className)
Set the name of the class that provides the SecurityProxyFactory implementation. |
void |
setServerMode(boolean flag)
The SecurityAssociation server mode flag. |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Methods inherited from interface org.jboss.security.plugins.SecurityManagerMBean |
|---|
doesUserHaveRole, getPrincipal, getUserRoles, isValid |
| Field Detail |
|---|
static final javax.management.ObjectName OBJECT_NAME
| Method Detail |
|---|
boolean getDeepCopySubjectMode()
void setDeepCopySubjectMode(boolean flag)
flag - boolean getServerMode()
void setServerMode(boolean flag)
flag - - A flag indicating if the SecurityAssociation.setServer
should be called on service startup.String getSecurityManagerClassName()
void setSecurityManagerClassName(String className)
throws ClassNotFoundException,
ClassCastException
ClassNotFoundException - thrown if the className cannot be found
using the thread context class loader.
ClassCastException - thrown if the className does not implement the
org.jboss.security.AuthenticationManager interface.String getSecurityProxyFactoryClassName()
void setSecurityProxyFactoryClassName(String className)
throws ClassNotFoundException
ClassNotFoundExceptionString getCallbackHandlerClassName()
void setCallbackHandlerClassName(String className)
throws ClassNotFoundException
ClassNotFoundExceptionCallbackHandlerString getAuthenticationCacheJndiName()
void setAuthenticationCacheJndiName(String jndiName)
jndiName - the name to the ObjectFactory or CachePolicy binding.int getDefaultCacheTimeout()
void setDefaultCacheTimeout(int timeoutInSecs)
timeoutInSecs - the cache timeout in seconds.int getDefaultCacheResolution()
void setDefaultCacheResolution(int resInSecs)
resInSecs - resolution of timeouts in seconds.
void setCacheTimeout(String securityDomain,
int timeoutInSecs,
int resInSecs)
securityDomain - the name of the security domain cachetimeoutInSecs - - the cache timeout in seconds.resInSecs - - resolution of timeouts in seconds.void flushAuthenticationCache(String securityDomain)
securityDomain - the name of the security domain cache
void flushAuthenticationCache(String securityDomain,
Principal user)
securityDomain - the name of the security domain cacheuser - the principal of the user to flushList getAuthenticationCachePrincipals(String securityDomain)
securityDomain -
void registerSecurityDomain(String securityDomain,
SecurityDomain instance)
String getDefaultUnauthenticatedPrincipal()
void setDefaultUnauthenticatedPrincipal(String principal)
principal - The principal name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||