|
||||||||||
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.SystemAuthenticator
public class SystemAuthenticator
An MBean that requires a JAAS login in order for it to startup. This is used to require authentication to startup a JBoss instance.
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 | |
---|---|
SystemAuthenticator()
|
Method Summary | |
---|---|
Class |
getCallbackHandler()
Get the CallbackHandler to use to obtain the authentication information. |
String |
getSecurityDomain()
Get the name of the security domain used for authentication |
void |
setCallbackHandler(Class callbackHandlerClass)
Specify the CallbackHandler to use to obtain the authentication information. |
void |
setSecurityDomain(String name)
Set the name of the security domain used for authentication |
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, 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 |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Constructor Detail |
---|
public SystemAuthenticator()
Method Detail |
---|
public String getSecurityDomain()
getSecurityDomain
in interface SystemAuthenticatorMBean
public void setSecurityDomain(String name)
setSecurityDomain
in interface SystemAuthenticatorMBean
public Class getCallbackHandler()
getCallbackHandler
in interface SystemAuthenticatorMBean
CallbackHandler
public void setCallbackHandler(Class callbackHandlerClass) throws InstantiationException, IllegalAccessException
setCallbackHandler
in interface SystemAuthenticatorMBean
InstantiationException
IllegalAccessException
CallbackHandler
protected void startService() throws Exception
startService
in class org.jboss.system.ServiceMBeanSupport
Exception
protected void stopService() throws Exception
stopService
in class org.jboss.system.ServiceMBeanSupport
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |