Package org.eclipse.jetty.client.util
Class SPNEGOAuthentication.SPNEGOResult
java.lang.Object
org.eclipse.jetty.client.util.SPNEGOAuthentication.SPNEGOResult
- All Implemented Interfaces:
Authentication.Result
- Enclosing class:
- SPNEGOAuthentication
public static class SPNEGOAuthentication.SPNEGOResult
extends Object
implements Authentication.Result
-
Constructor Summary
ConstructorDescriptionSPNEGOResult
(URI uri, String token) SPNEGOResult
(URI uri, HttpHeader header, String token) -
Method Summary
-
Constructor Details
-
SPNEGOResult
-
SPNEGOResult
-
-
Method Details
-
getURI
- Specified by:
getURI
in interfaceAuthentication.Result
- Returns:
- the URI of the request that has been used to generate this
Authentication.Result
-
apply
Description copied from interface:Authentication.Result
Applies the authentication result to the given request. Typically, aAuthorization
header is added to the request, with the right information to successfully authenticate at the server.- Specified by:
apply
in interfaceAuthentication.Result
- Parameters:
request
- the request to authenticate
-