org.jboss.security.auth
Interface SystemAuthenticatorMBean

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

public interface SystemAuthenticatorMBean
extends ServiceMBean (src)

An MBean that requires a JAAS login in order for it to startup. This cam be used to require a login to startup the JBoss server.


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.Class getCallbackHandler()
          Get the CallbackHandler to use to obtain the authentication information.
 java.lang.String getSecurityDomain()
          Get the name of the security domain used for authentication
 void setCallbackHandler(java.lang.Class callbackHandlerClass)
          Specify the CallbackHandler to use to obtain the authentication information.
 void setSecurityDomain(java.lang.String name)
          Set the name of the security domain used for authentication
 
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

getSecurityDomain

public java.lang.String getSecurityDomain()
Get the name of the security domain used for authentication


setSecurityDomain

public void setSecurityDomain(java.lang.String name)
Set the name of the security domain used for authentication


getCallbackHandler

public java.lang.Class getCallbackHandler()
Get the CallbackHandler to use to obtain the authentication information.

See Also:
CallbackHandler

setCallbackHandler

public void setCallbackHandler(java.lang.Class callbackHandlerClass)
                        throws java.lang.InstantiationException,
                               java.lang.IllegalAccessException
Specify the CallbackHandler to use to obtain the authentication information.

Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
See Also:
CallbackHandler