org.apache.geronimo.security.jaas
Class ConfigurationEntry
java.lang.Object
org.apache.geronimo.security.jaas.ConfigurationEntry
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle
- Direct Known Subclasses:
- ConfigurationEntryLocal, ConfigurationEntryRealmLocal
- public abstract class ConfigurationEntry
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle
A simple GBean that allows servers to dynamically create JAAS login
configuration entries on the fly. When GeronimoLoginConfiguration
has been registered via Configuration.setConfiguration(),
all logins will pick up these configuration entries and not what could
possibly be stored in a login config file referenced by
java.security.auth.login.config.
More specifically, you can only use this method or Sun's JAAS config
file.
- Version:
- $Revision: 1.12 $ $Date: 2004/07/12 06:07:50 $
- See Also:
GeronimoLoginConfiguration,
Configuration
|
Constructor Summary |
protected |
ConfigurationEntry(org.apache.geronimo.kernel.Kernel kernel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kernel
protected final org.apache.geronimo.kernel.Kernel kernel
context
protected org.apache.geronimo.gbean.jmx.GBeanMBeanLifecycleController context
applicationConfigName
protected String applicationConfigName
controlFlag
protected LoginModuleControlFlag controlFlag
options
protected Properties options
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
ConfigurationEntry
protected ConfigurationEntry(org.apache.geronimo.kernel.Kernel kernel)
getApplicationConfigName
public String getApplicationConfigName()
- Get the JAAS config id for this configuration entry.
- Returns:
- the JAAS config id for this configuration entry
setApplicationConfigName
public void setApplicationConfigName(String applicationConfigName)
- Set the JAAS application configuration name for this configuration entry.
- Parameters:
applicationConfigName - the JAAS config id for this configuration entry
getControlFlag
public LoginModuleControlFlag getControlFlag()
setControlFlag
public void setControlFlag(LoginModuleControlFlag controlFlag)
getOptions
public Properties getOptions()
setOptions
public void setOptions(Properties options)
getAppConfigurationEntry
public abstract AppConfigurationEntry[] getAppConfigurationEntry()
doStart
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doStop
public void doStop()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doFail
public void doFail()
- Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.