org.apache.geronimo.security.jaas
Class GeronimoLoginConfiguration

java.lang.Object
  extended by javax.security.auth.login.Configuration
      extended by org.apache.geronimo.security.jaas.GeronimoLoginConfiguration
All Implemented Interfaces:
EventListener, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.gbean.ReferenceCollectionListener

public class GeronimoLoginConfiguration
extends Configuration
implements org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.gbean.ReferenceCollectionListener

A JAAS configuration mechanism (associating JAAS configuration names with specific LoginModule configurations). This is a drop-in replacement for the normal file-reading JAAS configuration mechanism. Instead of getting its configuration from its file, it gets its configuration from other GBeans running in Geronimo.


Constructor Summary
GeronimoLoginConfiguration()
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 AppConfigurationEntry[] getAppConfigurationEntry(String name)
           
 Collection getConfigurations()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 void memberAdded(org.apache.geronimo.gbean.ReferenceCollectionEvent event)
           
 void memberRemoved(org.apache.geronimo.gbean.ReferenceCollectionEvent event)
           
 void refresh()
           
 void setConfigurations(Collection configurations)
           
 
Methods inherited from class javax.security.auth.login.Configuration
getConfiguration, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoLoginConfiguration

public GeronimoLoginConfiguration()
Method Detail

getConfigurations

public Collection getConfigurations()

setConfigurations

public void setConfigurations(Collection configurations)

getAppConfigurationEntry

public AppConfigurationEntry[] getAppConfigurationEntry(String name)
Specified by:
getAppConfigurationEntry in class Configuration

refresh

public void refresh()
Specified by:
refresh in class Configuration

memberAdded

public void memberAdded(org.apache.geronimo.gbean.ReferenceCollectionEvent event)
Specified by:
memberAdded in interface org.apache.geronimo.gbean.ReferenceCollectionListener

memberRemoved

public void memberRemoved(org.apache.geronimo.gbean.ReferenceCollectionEvent event)
Specified by:
memberRemoved in interface org.apache.geronimo.gbean.ReferenceCollectionListener

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
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 © 2006 Apache Software Foundation. All Rights Reserved.