@Singleton public class SessionLogoutHandler extends java.lang.Object implements LogoutHandler
LogoutHandler
implementation for Session-Based Authentication.Modifier and Type | Field and Description |
---|---|
protected SecuritySessionConfiguration |
securitySessionConfiguration |
Constructor and Description |
---|
SessionLogoutHandler(SecuritySessionConfiguration securitySessionConfiguration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpResponse |
logout(io.micronaut.http.HttpRequest<?> request) |
protected final SecuritySessionConfiguration securitySessionConfiguration
public SessionLogoutHandler(SecuritySessionConfiguration securitySessionConfiguration)
securitySessionConfiguration
- Security Session Configuration session storepublic io.micronaut.http.HttpResponse logout(io.micronaut.http.HttpRequest<?> request)
logout
in interface LogoutHandler
request
- The HttpRequest
being executed