public static class SPNEGOAuthentication.SPNEGOResult extends java.lang.Object implements Authentication.Result
| Modifier and Type | Field and Description |
|---|---|
private HttpHeader |
header |
private java.net.URI |
uri |
private java.lang.String |
value |
| Constructor and Description |
|---|
SPNEGOResult(java.net.URI uri,
HttpHeader header,
java.lang.String token) |
SPNEGOResult(java.net.URI uri,
java.lang.String token) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Request request)
Applies the authentication result to the given request.
|
java.net.URI |
getURI() |
private final java.net.URI uri
private final HttpHeader header
private final java.lang.String value
public SPNEGOResult(java.net.URI uri,
java.lang.String token)
public SPNEGOResult(java.net.URI uri,
HttpHeader header,
java.lang.String token)
public java.net.URI getURI()
getURI in interface Authentication.ResultResultpublic void apply(Request request)
Authentication.ResultAuthorization header is added to the request, with the right information to
successfully authenticate at the server.apply in interface Authentication.Resultrequest - the request to authenticate