|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.security.auth.login.DynamicLoginConfig
A security config mbean that loads an xml login configuration using the
XMLLoginConfig.loadConfig(URL config) operation on start, and unloads
the contained login module configurations on stop.
XMLLoginConfig
(src) Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 |
Constructor Summary | |
DynamicLoginConfig()
|
Method Summary | |
void |
flushAuthenticationCaches()
Go through the registered login config names and flush the auth caches if there is a registered SecurityManagerService. |
java.lang.String |
getAuthConfig()
Get the resource path to the JAAS login configuration file to use. |
ObjectName (src) |
getLoginConfigService()
Get the XMLLoginConfig service to use for loading. |
java.lang.String |
getName()
Use the short class name as the default for the service name. |
ObjectName (src) |
getSecurityManagerService()
Get the SecurityManagerService used to flush the registered security domains. |
void |
setAuthConfig(java.lang.String authConf)
Set the resource path to the JAAS login configuration file to use. |
void |
setLoginConfigService(ObjectName (src) serviceName)
Get the XMLLoginConfig service to use for loading. |
void |
setSecurityManagerService(ObjectName (src) serviceName)
Set the SecurityManagerService used to flush the registered security domains. |
protected void |
startService()
Start the service. |
protected void |
stopService()
Start the service. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Constructor Detail |
public DynamicLoginConfig()
Method Detail |
public java.lang.String getName()
ServiceMBeanSupport (src)
getName
in interface ServiceMBean (src)
getName
in class ServiceMBeanSupport (src)
public ObjectName (src) getLoginConfigService()
DynamicLoginConfigMBean (src)
getLoginConfigService
in interface DynamicLoginConfigMBean (src)
public void setLoginConfigService(ObjectName (src) serviceName)
setLoginConfigService
in interface DynamicLoginConfigMBean (src)
serviceName
- - the XMLLoginConfig service name.public ObjectName (src) getSecurityManagerService()
DynamicLoginConfigMBean (src)
getSecurityManagerService
in interface DynamicLoginConfigMBean (src)
public void setSecurityManagerService(ObjectName (src) serviceName)
setSecurityManagerService
in interface DynamicLoginConfigMBean (src)
serviceName
- - the SecurityManagerService service name.public java.lang.String getAuthConfig()
getAuthConfig
in interface DynamicLoginConfigMBean (src)
public void setAuthConfig(java.lang.String authConf)
setAuthConfig
in interface DynamicLoginConfigMBean (src)
authConf
- - the classpath resource to load.public void flushAuthenticationCaches() throws java.lang.Exception
flushAuthenticationCaches
in interface DynamicLoginConfigMBean (src)
java.lang.Exception
protected void startService() throws java.lang.Exception
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |