org.apache.geronimo.security.credentialstore
Class DirectConfigurationCredentialStoreImpl

java.lang.Object
  extended by org.apache.geronimo.security.credentialstore.DirectConfigurationCredentialStoreImpl
All Implemented Interfaces:
CredentialStore

public class DirectConfigurationCredentialStoreImpl
extends Object
implements CredentialStore

Hopefully this will only be used for tests where you need to set up a simple credential store but don't want to set up a login configuration


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from interface org.apache.geronimo.security.credentialstore.CredentialStore
NULL
 
Constructor Summary
DirectConfigurationCredentialStoreImpl(Map<String,Map<String,Map<String,String>>> subjectInfo, ClassLoader cl)
           
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 Subject getSubject(String realm, String id)
           
 
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 GBeanInfo GBEAN_INFO
Constructor Detail

DirectConfigurationCredentialStoreImpl

public DirectConfigurationCredentialStoreImpl(Map<String,Map<String,Map<String,String>>> subjectInfo,
                                              ClassLoader cl)
                                       throws DeploymentException,
                                              ClassNotFoundException,
                                              NoSuchMethodException,
                                              IllegalAccessException,
                                              InvocationTargetException,
                                              InstantiationException
Throws:
DeploymentException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
InstantiationException
Method Detail

getSubject

public Subject getSubject(String realm,
                          String id)
                   throws LoginException
Specified by:
getSubject in interface CredentialStore
Throws:
LoginException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.