Interface Authentication

All Known Implementing Classes:
AbstractAuthentication, BasicAuthentication, DigestAuthentication, SPNEGOAuthentication

public interface Authentication
Authentication represents a mechanism to authenticate requests for protected resources.

Authentications are added to an AuthenticationStore, which is then queried to find the right Authentication mechanism to use based on its type, URI and realm, as returned by WWW-Authenticate response headers.

If an Authentication mechanism is found, it is then executed for the given request, returning an Authentication.Result, which is then stored in the AuthenticationStore so that subsequent requests can be preemptively authenticated.