|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.soa3.connector.common.security.CredentialManager
public class CredentialManager
Credential Manager singleton class is based on an InheritableThreadLocal internal variable storing the Credentials object. The credentials
stored are valid for the current thread and for all the descendants
| Method Summary | |
|---|---|
Credentials |
getCredentials()
Gets the credentials (with InheritableThreadLocal logic) |
static CredentialManager |
getInstance()
|
void |
removeCredentials()
Removes the credentials |
void |
setCredentials(Credentials credentials)
Sets the credentials for this Thread and the descendants |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CredentialManager getInstance()
public void setCredentials(Credentials credentials)
credentials - public Credentials getCredentials()
InheritableThreadLocal logic)
public void removeCredentials()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||