org.apache.geronimo.security.jaas
Class ConfigurationEntryRealmLocal
java.lang.Object
org.apache.geronimo.security.jaas.ConfigurationEntry
org.apache.geronimo.security.jaas.ConfigurationEntryRealmLocal
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle
- Direct Known Subclasses:
- ConfigurationEntryRealmRemote
- public class ConfigurationEntryRealmLocal
- extends ConfigurationEntry
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.6 $ $Date: 2004/07/12 06:07:50 $
- See Also:
GeronimoLoginConfiguration,
Configuration
|
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
ConfigurationEntryRealmLocal
public ConfigurationEntryRealmLocal(org.apache.geronimo.kernel.Kernel kernel)
getRealmName
public String getRealmName()
setRealmName
public void setRealmName(String realmName)
getAppConfigurationEntry
public AppConfigurationEntry[] getAppConfigurationEntry()
- Specified by:
getAppConfigurationEntry in class ConfigurationEntry
doStart
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle- Overrides:
doStart in class ConfigurationEntry
- 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- Overrides:
doStop in class ConfigurationEntry
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.