org.gcube.common.core.security.impl
Class CredentialManager

java.lang.Object
  extended by org.gcube.common.core.security.impl.CredentialManager

public class CredentialManager
extends Object


Field Summary
protected  Map<Thread,SecurityCredentials> callCredentials
          Cache of credentials indexed by thread id.
 
Constructor Summary
CredentialManager()
           
 
Method Summary
 void associateCurrentCredentials(javax.xml.rpc.Stub stub)
           
 SecurityCredentials getContainerCredentials()
           
 SecurityCredentials getCredentials()
           
 void setCredentials(Thread thread, SecurityCredentials... credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callCredentials

protected Map<Thread,SecurityCredentials> callCredentials
Cache of credentials indexed by thread id.

Constructor Detail

CredentialManager

public CredentialManager()
Method Detail

getContainerCredentials

public SecurityCredentials getContainerCredentials()

setCredentials

public void setCredentials(Thread thread,
                           SecurityCredentials... credentials)
                    throws Exception
Throws:
Exception

getCredentials

public SecurityCredentials getCredentials()

associateCurrentCredentials

public void associateCurrentCredentials(javax.xml.rpc.Stub stub)


Copyright © 2012. All Rights Reserved.