public class CredentialManagerImpl extends Object implements CredentialManager
InheritableThreadLocal internal variable storing the Credentials object. The credentials
stored are valid for the current thread and for all the descendantsinstance| Modifier and Type | Method and Description |
|---|---|
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
|
public void set(Credentials credentials)
CredentialManagerset in interface CredentialManagerpublic Credentials get()
CredentialManagerInheritableThreadLocal logic)get in interface CredentialManagerpublic void reset()
CredentialManagerreset in interface CredentialManagerCopyright © 2017. All Rights Reserved.