Class AuthenticationFilter

All Implemented Interfaces:

public class AuthenticationFilter
extends BaseDebugLoggingFilter
AuthenticationFilter authenticates the request by extracting the access token from tha authorization header and using it to construct a RestBackend impl for this request. It stores the RestBackend in as a request property so that the jaxrs resource impls can call the backend to get their work done.

The backend impl is responsible for authenticating the token (if it can't then it throws a WebApplicationException) and storing info about the authenticated user so that it can do access checks for this request later.