org.apache.geronimo.security.credentialstore
Class SimpleCredentialStoreImpl

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

@GBean
public class SimpleCredentialStoreImpl
extends Object
implements CredentialStore

Version:
$Rev: 723240 $ $Date: 2008-12-04 16:19:31 +0800 (Thu, 04 Dec 2008) $

Field Summary
 
Fields inherited from interface org.apache.geronimo.security.credentialstore.CredentialStore
NULL
 
Constructor Summary
SimpleCredentialStoreImpl(Map<String,Map<String,Map<String,String>>> credentials, Collection<ConfigurationEntryFactory> realms, ClassLoader cl)
           
 
Method Summary
 void addEntry(String realm, String id, Map<String,SingleCallbackHandler> callbackInfos)
           
 Subject getSubject(String realm, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCredentialStoreImpl

public SimpleCredentialStoreImpl(@ParamAttribute(name="credentialStore")
                                 Map<String,Map<String,Map<String,String>>> credentials,
                                 @ParamReference(name="Realms",namingType="SecurityRealm")
                                 Collection<ConfigurationEntryFactory> realms,
                                 @ParamSpecial(type=classLoader)
                                 ClassLoader cl)
Method Detail

getSubject

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

addEntry

public void addEntry(String realm,
                     String id,
                     Map<String,SingleCallbackHandler> callbackInfos)


Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.