|
||||||||||
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.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 (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 | |
SecurityConfig()
|
Method Summary | |
java.lang.String |
getLoginConfig()
Get the name of the mbean that provides the default JAAS login configuration |
java.lang.String |
getName()
Use the short class name as the default for the service name. |
void |
popLoginConfig()
Pop the current mbean from the login configuration stack and install the previous Configuration as the current instance. |
void |
pushLoginConfig(java.lang.String objectName)
Push an mbean onto the login configuration stack and install its Configuration as the current instance. |
void |
setLoginConfig(java.lang.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 (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 SecurityConfig()
Method Detail |
public java.lang.String getName()
ServiceMBeanSupport (src)
getName
in interface ServiceMBean (src)
getName
in class ServiceMBeanSupport (src)
public java.lang.String getLoginConfig()
getLoginConfig
in interface SecurityConfigMBean (src)
public void setLoginConfig(java.lang.String name) throws MalformedObjectNameException (src)
setLoginConfig
in interface SecurityConfigMBean (src)
MalformedObjectNameException (src)
public void startService() throws java.lang.Exception
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void stopService() throws java.lang.Exception
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void pushLoginConfig(java.lang.String objectName) throws JMException (src) , MalformedObjectNameException (src)
pushLoginConfig
in interface SecurityConfigMBean (src)
JMException (src)
MalformedObjectNameException (src)
Configuration
public void popLoginConfig() throws JMException (src)
popLoginConfig
in interface SecurityConfigMBean (src)
JMException (src)
Configuration
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |