public interface CredentialManager
InheritableThreadLocal internal variable storing the Credentials object. The credentials
stored are valid for the current thread and for all the descendants| Modifier and Type | Field and Description |
|---|---|
static CredentialManager |
instance |
| 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
|
static final CredentialManager instance
void set(Credentials credentials)
credentials - Credentials get()
InheritableThreadLocal logic)void reset()
Copyright © 2017. All Rights Reserved.