org.rhq.enterprise.server.core
Class CustomJaasDeploymentService

java.lang.Object
  extended by org.rhq.enterprise.server.core.CustomJaasDeploymentService
All Implemented Interfaces:
MBeanRegistration, CustomJaasDeploymentServiceMBean

public class CustomJaasDeploymentService
extends Object
implements CustomJaasDeploymentServiceMBean, MBeanRegistration

Deploy the JAAS login modules that are configured. The JDBC login module is always deployed, however, the LDAP login module is only deployed if LDAP is enabled in the RHQ configuration.


Field Summary
 
Fields inherited from interface org.rhq.enterprise.server.core.CustomJaasDeploymentServiceMBean
OBJECT_NAME, SECURITY_DOMAIN_NAME
 
Constructor Summary
CustomJaasDeploymentService()
          Constructor for CustomJaasDeploymentService.
 
Method Summary
 void installJaasModules()
          Installs the JAAS Modules that JON Server uses to allow users to log in.
 void postDeregister()
           
 void postRegister(Boolean registrationDone)
           
 void preDeregister()
           
 ObjectName preRegister(MBeanServer server, ObjectName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomJaasDeploymentService

public CustomJaasDeploymentService()
Constructor for CustomJaasDeploymentService.

Method Detail

installJaasModules

public void installJaasModules()
Description copied from interface: CustomJaasDeploymentServiceMBean
Installs the JAAS Modules that JON Server uses to allow users to log in.

Specified by:
installJaasModules in interface CustomJaasDeploymentServiceMBean
See Also:
CustomJaasDeploymentServiceMBean.installJaasModules()

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
                       throws Exception
Specified by:
preRegister in interface MBeanRegistration
Throws:
Exception
See Also:
MBeanRegistration.preRegister(javax.management.MBeanServer,javax.management.ObjectName)

postRegister

public void postRegister(Boolean registrationDone)
Specified by:
postRegister in interface MBeanRegistration
See Also:
MBeanRegistration.postRegister(java.lang.Boolean)

preDeregister

public void preDeregister()
Specified by:
preDeregister in interface MBeanRegistration
See Also:
MBeanRegistration.preDeregister()

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface MBeanRegistration
See Also:
MBeanRegistration.postDeregister()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.