| Modifier and Type | Field and Description |
|---|---|
| private Queue | authOptions
Available auth options |
| private AuthScheme | authScheme
Actual authentication scheme |
| private AuthScope | authScope
Actual authentication scope |
| private Credentials | credentials
Credentials selected for authentication |
| private AuthProtocolState | state
Actual state of authentication protocol |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Queue | |
| public AuthScheme | |
| public AuthScope | Returns: actual authentication scope if available,null otherwise
Deprecated
(4.2) do not use.
Returns actual AuthScope if available
|
| public Credentials | |
| public AuthProtocolState | |
| public boolean | |
| public void | invalidate()
Deprecated
(4.2) use
Invalidates the authentication state by resetting its parameters.
reset()
|
| public boolean | |
| public boolean | |
| public void | |
| public void | setAuthScheme(final AuthScheme authScheme)
Deprecated
(4.2) use
Assigns the given update(AuthScheme, Credentials)
authentication scheme.
|
| public void | setAuthScope(final AuthScope
Authentication scope authScope)
Deprecated
(4.2) do not use.
Sets actual AuthScope.
|
| public void | setCredentials(final Credentials
User credentials credentials)
Deprecated
(4.2) use
Sets user update(AuthScheme, Credentials)
Credentials to be used for authentication
|
| public void | |
| public String | |
| public void | update(final AuthScheme
auth scheme. May not be null. authScheme, final Credentials user crednetials. May not be null. credentials)Updates the auth state with |
| public void | update(final Queue<AuthOption>
a queue of auth options. May not be null or empty. authOptions)Updates the auth state with a queue of |
| authOptions | back to summary |
|---|---|
| private Queue<AuthOption> authOptions Available auth options | |
| authScheme | back to summary |
|---|---|
| private AuthScheme authScheme Actual authentication scheme | |
| authScope | back to summary |
|---|---|
| private AuthScope authScope Actual authentication scope | |
| credentials | back to summary |
|---|---|
| private Credentials credentials Credentials selected for authentication | |
| state | back to summary |
|---|---|
| private AuthProtocolState state Actual state of authentication protocol | |
| AuthState | back to summary |
|---|---|
| public AuthState() | |
| getAuthOptions | back to summary |
|---|---|
| public Queue Returns available
| |
| getAuthScheme | back to summary |
|---|---|
| public AuthScheme getAuthScheme() Returns actual | |
| getAuthScope | back to summary |
|---|---|
| public AuthScope getAuthScope()
Deprecated (4.2) do not use. Returns actual
| |
| getCredentials | back to summary |
|---|---|
| public Credentials getCredentials() Returns actual | |
| getState | back to summary |
|---|---|
public AuthProtocolState getState()
| |
| hasAuthOptions | back to summary |
|---|---|
| public boolean hasAuthOptions() Returns
| |
| invalidate | back to summary |
|---|---|
| public void invalidate()
Deprecated (4.2) use Invalidates the authentication state by resetting its parameters.
| |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Returns
| |
| isValid | back to summary |
|---|---|
| public boolean isValid()
Deprecated (4.2) do not use
| |
| reset | back to summary |
|---|---|
| public void reset() Resets the auth state.
| |
| setAuthScheme | back to summary |
|---|---|
| public void setAuthScheme(final AuthScheme authScheme)
Deprecated (4.2) use Assigns the given
| |
| setAuthScope | back to summary |
|---|---|
| public void setAuthScope(final AuthScope authScope)
Deprecated (4.2) do not use. Sets actual
| |
| setCredentials | back to summary |
|---|---|
| public void setCredentials(final Credentials credentials)
Deprecated (4.2) use Sets user
| |
| setState | back to summary |
|---|---|
public void setState(final AuthProtocolState state)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| update | back to summary |
|---|---|
| public void update(final AuthScheme authScheme, final Credentials credentials) Updates the auth state with
| |
| update | back to summary |
|---|---|
| public void update(final Queue<AuthOption> authOptions) Updates the auth state with a queue of
| |