Class HttpAuthenticationErrorInterceptor<A extends ExchangeContext,B extends ErrorExchange<A>>

java.lang.Object
io.inverno.mod.security.http.AuthenticationErrorInterceptor<A,B>
io.inverno.mod.security.http.HttpAuthenticationErrorInterceptor<A,B>
Type Parameters:
A - the context type
B - the error exchange type
All Implemented Interfaces:
ExchangeInterceptor<A,B>
Direct Known Subclasses:
BasicAuthenticationErrorInterceptor, DigestAuthenticationErrorInterceptor

public abstract class HttpAuthenticationErrorInterceptor<A extends ExchangeContext,B extends ErrorExchange<A>> extends AuthenticationErrorInterceptor<A,B>

An authentication error interceptor that implements RFC 7235 HTTP authentication.

As per RFC 7235, this interceptor sends a challenge to the requester in the www-authenticate HTTP header on an UNAUTHORIZED(401) error.

Since:
1.5
Author:
Jeremy Kuhn