|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
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
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 |
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. |
String |
getAuthConfig()
Get the resource path to the JAAS login configuration file to use. |
javax.management.ObjectName |
getLoginConfigService()
Get the XMLLoginConfig service to use for loading. |
String |
getName()
|
javax.management.ObjectName |
getSecurityManagerService()
Get the SecurityManagerService used to flush the registered security domains. |
void |
setAuthConfig(String authConf)
Set the resource path to the JAAS login configuration file to use. |
void |
setLoginConfigService(javax.management.ObjectName serviceName)
Get the XMLLoginConfig service to use for loading. |
void |
setSecurityManagerService(javax.management.ObjectName 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 |
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 |
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 |
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Constructor Detail |
public DynamicLoginConfig()
Method Detail |
public String getName()
getName
in interface org.jboss.system.ServiceMBean
public javax.management.ObjectName getLoginConfigService()
DynamicLoginConfigMBean
getLoginConfigService
in interface DynamicLoginConfigMBean
public void setLoginConfigService(javax.management.ObjectName serviceName)
setLoginConfigService
in interface DynamicLoginConfigMBean
serviceName
- - the XMLLoginConfig service name.public javax.management.ObjectName getSecurityManagerService()
DynamicLoginConfigMBean
getSecurityManagerService
in interface DynamicLoginConfigMBean
public void setSecurityManagerService(javax.management.ObjectName serviceName)
setSecurityManagerService
in interface DynamicLoginConfigMBean
serviceName
- - the SecurityManagerService service name.public String getAuthConfig()
getAuthConfig
in interface DynamicLoginConfigMBean
public void setAuthConfig(String authConf)
setAuthConfig
in interface DynamicLoginConfigMBean
authConf
- - the classpath resource to load.public void flushAuthenticationCaches() throws Exception
flushAuthenticationCaches
in interface DynamicLoginConfigMBean
Exception
protected void startService() throws Exception
Exception
protected void stopService() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |