|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.security.plugins.SecurityConfig
The SecurityConfigMBean implementation. This class needs the javax.security.auth.AuthPermission("setLoginConfiguration") to install the javax.security.auth.login.Configuration when running with a security manager.
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 | |
SecurityConfig()
|
Method Summary | |
String |
getLoginConfig()
Get the name of the mbean that provides the default JAAS login configuration |
String |
getName()
|
void |
popLoginConfig()
Pop the current mbean from the login configuration stack and install the previous Configuration as the current instance. |
void |
pushLoginConfig(String objectName)
Push an mbean onto the login configuration stack and install its Configuration as the current instance. |
void |
setLoginConfig(String name)
Set the name of the mbean that provides the default JAAS login configuration |
void |
startService()
Start the configuration service by pushing the mbean given by the LoginConfig onto the configuration stack. |
void |
stopService()
Start the configuration service by poping the top of the configuration stack. |
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 SecurityConfig()
Method Detail |
public String getName()
getName
in interface org.jboss.system.ServiceMBean
public String getLoginConfig()
getLoginConfig
in interface SecurityConfigMBean
public void setLoginConfig(String name) throws javax.management.MalformedObjectNameException
setLoginConfig
in interface SecurityConfigMBean
javax.management.MalformedObjectNameException
public void startService() throws Exception
Exception
public void stopService() throws Exception
Exception
public void pushLoginConfig(String objectName) throws javax.management.JMException, javax.management.MalformedObjectNameException
pushLoginConfig
in interface SecurityConfigMBean
javax.management.JMException
javax.management.MalformedObjectNameException
Configuration
public void popLoginConfig() throws javax.management.JMException
popLoginConfig
in interface SecurityConfigMBean
javax.management.JMException
Configuration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |