org.apache.geronimo.security.jaas
Class DirectConfigurationEntry

java.lang.Object
  extended by org.apache.geronimo.security.jaas.DirectConfigurationEntry
All Implemented Interfaces:
ConfigurationEntryFactory

public class DirectConfigurationEntry
extends Object
implements ConfigurationEntryFactory

Exposes a LoginModule directly to JAAS clients, without any particular wrapping by Geronimo. You do still need to declare the login module as a GBean, but it's not like it will be run through the login service or anything.


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
DirectConfigurationEntry()
           
DirectConfigurationEntry(String applicationConfigName, LoginModuleControlFlag controlFlag, LoginModuleSettings module)
           
 
Method Summary
 JaasLoginModuleConfiguration generateConfiguration()
          Generate a JaasLoginModuleConfiguration
 String getConfigurationName()
          Used to obtain the configuration name to be associated with the generated JaasLoginModuleConfiguration.
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

DirectConfigurationEntry

public DirectConfigurationEntry()

DirectConfigurationEntry

public DirectConfigurationEntry(String applicationConfigName,
                                LoginModuleControlFlag controlFlag,
                                LoginModuleSettings module)
Method Detail

getConfigurationName

public String getConfigurationName()
Description copied from interface: ConfigurationEntryFactory
Used to obtain the configuration name to be associated with the generated JaasLoginModuleConfiguration.

Specified by:
getConfigurationName in interface ConfigurationEntryFactory
Returns:
the configuration name

generateConfiguration

public JaasLoginModuleConfiguration generateConfiguration()
Description copied from interface: ConfigurationEntryFactory
Generate a JaasLoginModuleConfiguration

Specified by:
generateConfiguration in interface ConfigurationEntryFactory
Returns:
a JaasLoginModuleConfiguration

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.