Class SPNEGOAuthentication

java.lang.Object
org.eclipse.jetty.client.util.AbstractAuthentication
org.eclipse.jetty.client.util.SPNEGOAuthentication
All Implemented Interfaces:
Authentication

public class SPNEGOAuthentication extends AbstractAuthentication

Implementation of the SPNEGO (or "Negotiate") authentication defined in RFC 4559.

A user is logged in via JAAS (either via userName/password or via userName/keyTab) once only.

For every request that needs authentication, a GSSContext is initiated and later established after reading the response from the server.

Applications should create objects of this class and add them to the AuthenticationStore retrieved from the HttpClient via HttpClient.getAuthenticationStore().