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