Package io.micronaut.security.session
Class SessionAuthenticationFetcher
- java.lang.Object
 - 
- io.micronaut.security.session.SessionAuthenticationFetcher
 
 
- 
- All Implemented Interfaces:
 io.micronaut.core.order.Ordered,AuthenticationFetcher
@Singleton public class SessionAuthenticationFetcher extends java.lang.Object implements AuthenticationFetcher
Attempts to retrieve an instance ofAuthenticationfromSession.- Since:
 - 1.0
 - Author:
 - Sergio del Amo, Graeme Rocher
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.IntegerORDERThe order of the fetcher. 
- 
Constructor Summary
Constructors Constructor Description SessionAuthenticationFetcher() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<Authentication>fetchAuthentication(io.micronaut.http.HttpRequest<?> request)Attempts to read anAuthenticationfrom aHttpRequestbeing executed.intgetOrder() 
 - 
 
- 
- 
Method Detail
- 
fetchAuthentication
public org.reactivestreams.Publisher<Authentication> fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
Description copied from interface:AuthenticationFetcherAttempts to read anAuthenticationfrom aHttpRequestbeing executed.- Specified by:
 fetchAuthenticationin interfaceAuthenticationFetcher- Parameters:
 request-HttpRequestbeing executed.- Returns:
 Authenticationif found
 
- 
getOrder
public int getOrder()
- Specified by:
 getOrderin interfaceio.micronaut.core.order.Ordered
 
 - 
 
 -