org.apache.geronimo.security.jaas
Class DirectConfigurationEntry
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
DirectConfigurationEntry
public DirectConfigurationEntry()
DirectConfigurationEntry
public DirectConfigurationEntry(String applicationConfigName,
LoginModuleControlFlag controlFlag,
LoginModuleSettings module)
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.