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.

Version:
$Rev: 778047 $ $Date: 2009-05-24 06:32:25 +0800 (Sun, 24 May 2009) $

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()
           
 boolean isGlobal()
          return false to exclude from global GeronimoLoginConfiguration
 void refresh()
          delegate from Configuration
 
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[]

isGlobal

public boolean isGlobal()
Description copied from interface: ConfigurationEntryFactory
return false to exclude from global GeronimoLoginConfiguration

Specified by:
isGlobal in interface ConfigurationEntryFactory
Returns:
whether to include in GeronimoLoginConfiguration

refresh

public void refresh()
Description copied from interface: ConfigurationEntryFactory
delegate from Configuration

Specified by:
refresh in interface ConfigurationEntryFactory

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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