org.jboss.security.auth
Class SystemAuthenticator
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.security.auth.SystemAuthenticator
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, SystemAuthenticatorMBean, Service, ServiceMBean
public class SystemAuthenticator
- extends ServiceMBeanSupport
- implements SystemAuthenticatorMBean
An MBean that requires a JAAS login in order for it to startup. This is
used to require authentication to startup a JBoss instance.
- Version:
- $Revision: 85945 $
- Author:
- Scott.Stark@jboss.org
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 |
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, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemAuthenticator
public SystemAuthenticator()
getSecurityDomain
public String getSecurityDomain()
- Get the name of the security domain used for authentication
- Specified by:
getSecurityDomain
in interface SystemAuthenticatorMBean
setSecurityDomain
public void setSecurityDomain(String name)
- Set the name of the security domain used for authentication
- Specified by:
setSecurityDomain
in interface SystemAuthenticatorMBean
getCallbackHandler
public Class getCallbackHandler()
- Get the CallbackHandler to use to obtain the authentication
information.
- Specified by:
getCallbackHandler
in interface SystemAuthenticatorMBean
- See Also:
CallbackHandler
setCallbackHandler
public void setCallbackHandler(Class callbackHandlerClass)
throws InstantiationException,
IllegalAccessException
- Specify the CallbackHandler to use to obtain the authentication
information.
- Specified by:
setCallbackHandler
in interface SystemAuthenticatorMBean
- Throws:
InstantiationException
IllegalAccessException
- See Also:
CallbackHandler
startService
protected void startService()
throws Exception
- Overrides:
startService
in class ServiceMBeanSupport
- Throws:
Exception
stopService
protected void stopService()
throws Exception
- Overrides:
stopService
in class ServiceMBeanSupport
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.