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 GBeanInfo GBEAN_INFO
           
 
Constructor Summary
DirectConfigurationEntry()
           
DirectConfigurationEntry(String applicationConfigName, LoginModuleControlFlag controlFlag, LoginModuleSettings module)
           
 
Method Summary
 AppConfigurationEntry[] getAppConfigurationEntries()
          Generate the AppConfigurationEntry array for the login modules in this configuration.
 String getConfigurationName()
          Used to obtain the configuration name to be associated with the generated AppConfigurationEntry array.
static 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 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 AppConfigurationEntry array.

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

getAppConfigurationEntries

public AppConfigurationEntry[] getAppConfigurationEntries()
Description copied from interface: ConfigurationEntryFactory
Generate the AppConfigurationEntry array for the login modules in this configuration.

Specified by:
getAppConfigurationEntries in interface ConfigurationEntryFactory
Returns:
a AppConfigurationEntry[]

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.