org.jboss.security.plugins
Interface SecurityConfigMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Implementing Classes:
SecurityConfig (src)

public interface SecurityConfigMBean
extends ServiceMBean (src)

A security configuration MBean. This establishes the JAAS and Java2 security properties and related configuration.

See Also:
DefaultLoginConfig (src) , Configuration

Field Summary
 
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
 
Method Summary
 java.lang.String getLoginConfig()
          Get the name of the mbean that provides the default JAAS login configuration
 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 objectName)
          Set the name of the mbean that provides the default JAAS login configuration
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getLoginConfig

public java.lang.String getLoginConfig()
Get the name of the mbean that provides the default JAAS login configuration


setLoginConfig

public void setLoginConfig(java.lang.String objectName)
                    throws MalformedObjectNameException (src) 
Set the name of the mbean that provides the default JAAS login configuration

Throws:
MalformedObjectNameException (src)

pushLoginConfig

public void pushLoginConfig(java.lang.String objectName)
                     throws JMException (src) ,
                            MalformedObjectNameException (src) 
Push an mbean onto the login configuration stack and install its Configuration as the current instance.

Throws:
JMException (src)
MalformedObjectNameException (src)
See Also:
Configuration

popLoginConfig

public void popLoginConfig()
                    throws JMException (src) 
Pop the current mbean from the login configuration stack and install the previous Configuration as the current instance.

Throws:
JMException (src)
See Also:
Configuration