Package io.micronaut.security.session
Class SessionSecurityfilterRejectionHandler
- java.lang.Object
 - 
- io.micronaut.security.session.SessionSecurityfilterRejectionHandler
 
 
- 
- All Implemented Interfaces:
 RejectionHandler
@Deprecated @Requires(property="micronaut.security.session.legacy-rejection-handler", notEquals="false") @Replaces(HttpStatusCodeRejectionHandler.class) @Singleton public class SessionSecurityfilterRejectionHandler extends java.lang.Object implements RejectionHandlerDeprecated.useRedirectRejectionHandlerinsteadRejectionHandlerimplementation for Session-based Authentication.- Since:
 - 1.0
 - Author:
 - Sergio del Amo
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected SecuritySessionConfigurationsecuritySessionConfigurationDeprecated. 
- 
Constructor Summary
Constructors Constructor Description SessionSecurityfilterRejectionHandler(SecuritySessionConfiguration securitySessionConfiguration)Deprecated.Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>>reject(io.micronaut.http.HttpRequest<?> request, boolean forbidden)Deprecated.If request is HTML then do a 303 Redirect, if not respond with correspondent HTTP Status code. 
 - 
 
- 
- 
Field Detail
- 
securitySessionConfiguration
protected final SecuritySessionConfiguration securitySessionConfiguration
Deprecated. 
 - 
 
- 
Constructor Detail
- 
SessionSecurityfilterRejectionHandler
public SessionSecurityfilterRejectionHandler(SecuritySessionConfiguration securitySessionConfiguration)
Deprecated.Constructor.- Parameters:
 securitySessionConfiguration- Security Session Configuration session store
 
 - 
 
- 
Method Detail
- 
reject
public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> reject(io.micronaut.http.HttpRequest<?> request, boolean forbidden)Deprecated.If request is HTML then do a 303 Redirect, if not respond with correspondent HTTP Status code.- Specified by:
 rejectin interfaceRejectionHandler- Parameters:
 request-HttpRequestbeing processedforbidden- if true indicates that although the user was authenticated he did not had the necessary access priviledges.- Returns:
 - Return a HTTP Response
 
 
 - 
 
 -