org.apache.geronimo.security.jaas
Class ConfigurationEntryRealmLocal

java.lang.Object
  extended byorg.apache.geronimo.security.jaas.ConfigurationEntry
      extended byorg.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
           
 
Fields inherited from class org.apache.geronimo.security.jaas.ConfigurationEntry
applicationConfigName, context, controlFlag, kernel, options
 
Constructor Summary
ConfigurationEntryRealmLocal(org.apache.geronimo.kernel.Kernel kernel)
           
 
Method Summary
 void doStart()
           
 void doStop()
           
 AppConfigurationEntry[] getAppConfigurationEntry()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getRealmName()
           
 void setRealmName(String realmName)
           
 
Methods inherited from class org.apache.geronimo.security.jaas.ConfigurationEntry
doFail, getApplicationConfigName, getControlFlag, getOptions, setApplicationConfigName, setControlFlag, setOptions
 
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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

ConfigurationEntryRealmLocal

public ConfigurationEntryRealmLocal(org.apache.geronimo.kernel.Kernel kernel)
Method Detail

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.