Class BasicSessionCredentialsExtractor<A extends Authentication,B extends AuthSessionData<A>,C extends BasicSessionContext<B>,D extends Exchange<C>>

java.lang.Object
io.inverno.mod.security.http.session.BasicSessionCredentialsExtractor<A,B,C,D>
Type Parameters:
A - the authentication type
B - the authentication session data type
C - the basic session context type
D - the exchange type
All Implemented Interfaces:
CredentialsExtractor<SessionCredentials<A>,C,D>

public class BasicSessionCredentialsExtractor<A extends Authentication,B extends AuthSessionData<A>,C extends BasicSessionContext<B>,D extends Exchange<C>> extends Object implements CredentialsExtractor<SessionCredentials<A>,C,D>

A credentials extractor that extracts session credentials from a basic session.

This basically looks for the Authentication stored in an AuthSessionData and returns a SessionCredentials containing the authentication. The session data type must then implement AuthSessionData for the extractor to be able to resolve the authentication from the session.

Since:
1.13
Author:
Jeremy Kuhn