|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.soa3.connector.common.security.impl.CredentialManagerImpl
public class CredentialManagerImpl
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
| Field Summary |
|---|
| Fields inherited from interface org.gcube.soa3.connector.common.security.CredentialManager |
|---|
instance |
| Method Summary | |
|---|---|
Credentials |
get()
Gets the credentials (with InheritableThreadLocal logic) |
void |
reset()
Removes the credentials |
void |
set(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 void set(Credentials credentials)
CredentialManager
set in interface CredentialManagerpublic Credentials get()
CredentialManagerInheritableThreadLocal logic)
get in interface CredentialManagerpublic void reset()
CredentialManager
reset in interface CredentialManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||