| Modifier and Type | Field and Description |
|---|---|
| private BearerToken | |
| private boolean | |
| private static final Logger | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | generateAuthResponse(final HttpHost host, final HttpRequest
The request being authenticated request, final HttpContext HTTP context context)Implements org. |
| public String | getName()
Implements org. |
| public Principal | getPrincipal()
Implements org. Principal whose credentials are used to generate
an authentication response.
|
| public String | getRealm()
Implements org. |
| public boolean | isChallengeComplete()
Implements org. |
| public boolean | isConnectionBased()
Implements org. |
| public boolean | isResponseReady(final HttpHost host, final CredentialsProvider
The credentials to be used for authentication credentialsProvider, final HttpContext HTTP context context)Implements org. |
| public void | processChallenge(final AuthChallenge
the auth challenge authChallenge, final HttpContext HTTP context context)Implements org. |
| public String |
| bearerToken | back to summary |
|---|---|
| private BearerToken bearerToken | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| paramMap | back to summary |
|---|---|
| private final Map<String, String> paramMap | |
| BearerScheme | back to summary |
|---|---|
| public BearerScheme() | |
| generateAuthResponse | back to summary |
|---|---|
| public String generateAuthResponse(final HttpHost host, final HttpRequest request, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Generates an authorization response based on the current state. Some authentication
schemes may need to load user credentials required to generate an authorization
response from a
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns textual designation of the given authentication scheme. | |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Implements org. Doc from org. Returns | |
| getRealm | back to summary |
|---|---|
| public String getRealm() Implements org. Doc from org. Returns authentication realm. If the concept of an authentication
realm is not applicable to the given authentication scheme, returns
| |
| isChallengeComplete | back to summary |
|---|---|
| public boolean isChallengeComplete() Implements org. Doc from org. Authentication process may involve a series of challenge-response exchanges. This method tests if the authorization process has been fully completed (either successfully or unsuccessfully), that is, all the required authorization challenges have been processed in their entirety.
| |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Implements org. Doc from org. Determines if the authentication scheme is expected to provide an authorization response on a per connection basis instead of the standard per request basis
| |
| isResponseReady | back to summary |
|---|---|
| public boolean isResponseReady(final HttpHost host, final CredentialsProvider credentialsProvider, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Determines whether or not an authorization response can be generated based on the actual authentication state. Generally the outcome of this method will depend upon availability of user credentials necessary to produce an authorization response.
| |
| processChallenge | back to summary |
|---|---|
| public void processChallenge(final AuthChallenge authChallenge, final HttpContext context) throws MalformedChallengeException Implements org. Doc from org. Processes the given auth challenge. Some authentication schemes may involve multiple challenge-response exchanges. Such schemes must be able to maintain internal state when dealing with sequential challenges
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |