AuthScheme
used for request authorization as well as a collection of backup authentication options if available.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private Queue | |
| private AuthScheme | |
| private String | |
| private AuthExchange. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Queue | |
| public AuthScheme | |
| public String | |
| public AuthExchange. | |
| public boolean | |
| public void | |
| public void | select(final AuthScheme
auth scheme. May not be null. authScheme)Resets the auth state with |
| public void | setOptions(final Queue<AuthScheme>
a queue of auth options. May not be null or empty. authOptions)Updates the auth state with a queue of auth options. |
| public void | |
| public void | |
| public String |
| authOptions | back to summary |
|---|---|
| private Queue<AuthScheme> authOptions | |
| authScheme | back to summary |
|---|---|
| private AuthScheme authScheme | |
| pathPrefix | back to summary |
|---|---|
| private String pathPrefix | |
| state | back to summary |
|---|---|
| private AuthExchange. | |
| AuthExchange | back to summary |
|---|---|
| public AuthExchange() | |
| getAuthOptions | back to summary |
|---|---|
| public Queue Returns available auth options. May be null. | |
| getAuthScheme | back to summary |
|---|---|
| public AuthScheme getAuthScheme() Returns actual | |
| getPathPrefix | back to summary |
|---|---|
public String getPathPrefix()
| |
| getState | back to summary |
|---|---|
| public AuthExchange. | |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Returns | |
| reset | back to summary |
|---|---|
| public void reset() | |
| select | back to summary |
|---|---|
| public void select(final AuthScheme authScheme) Resets the auth state with
| |
| setOptions | back to summary |
|---|---|
| public void setOptions(final Queue<AuthScheme> authOptions) Updates the auth state with a queue of auth options.
| |
| setPathPrefix | back to summary |
|---|---|
public void setPathPrefix(final String pathPrefix)
| |
| setState | back to summary |
|---|---|
| public void setState(final AuthExchange. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AuthExchange. | |
| public static final AuthExchange. | |
| public static final AuthExchange. | |
| public static final AuthExchange. | |
| public static final AuthExchange. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AuthExchange. | |
| public static AuthExchange. |
| CHALLENGED | back to summary |
|---|---|
| public static final AuthExchange. | |
| FAILURE | back to summary |
|---|---|
| public static final AuthExchange. | |
| HANDSHAKE | back to summary |
|---|---|
| public static final AuthExchange. | |
| SUCCESS | back to summary |
|---|---|
| public static final AuthExchange. | |
| UNCHALLENGED | back to summary |
|---|---|
| public static final AuthExchange. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static AuthExchange. | |
| values | back to summary |
|---|---|
| public static AuthExchange. | |