|
||||||||||
| 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
public class 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()
|
PolicyConfig |
getPolicyConfig()
Get the embedded PolicyConfig |
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 |
setPolicyConfig(PolicyConfig config)
Set the embedded PolicyConfig |
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, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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.ServiceMBeangetName in class org.jboss.system.ServiceMBeanSupportpublic PolicyConfig getPolicyConfig()
DynamicLoginConfigMBean
getPolicyConfig in interface DynamicLoginConfigMBeanpublic void setPolicyConfig(PolicyConfig config)
DynamicLoginConfigMBean
setPolicyConfig in interface DynamicLoginConfigMBeanconfig - - the embedded PolicyConfig objectpublic javax.management.ObjectName getLoginConfigService()
DynamicLoginConfigMBean
getLoginConfigService in interface DynamicLoginConfigMBeanpublic void setLoginConfigService(javax.management.ObjectName serviceName)
setLoginConfigService in interface DynamicLoginConfigMBeanserviceName - - the XMLLoginConfig service name.public javax.management.ObjectName getSecurityManagerService()
DynamicLoginConfigMBean
getSecurityManagerService in interface DynamicLoginConfigMBeanpublic void setSecurityManagerService(javax.management.ObjectName serviceName)
setSecurityManagerService in interface DynamicLoginConfigMBeanserviceName - - the SecurityManagerService service name.public String getAuthConfig()
getAuthConfig in interface DynamicLoginConfigMBeanpublic void setAuthConfig(String authConf)
setAuthConfig in interface DynamicLoginConfigMBeanauthConf - - the classpath resource to load.
public void flushAuthenticationCaches()
throws Exception
flushAuthenticationCaches in interface DynamicLoginConfigMBeanException
protected void startService()
throws Exception
startService in class org.jboss.system.ServiceMBeanSupportException
protected void stopService()
throws Exception
stopService in class org.jboss.system.ServiceMBeanSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||