@Requires(condition=SessionAuthenticationModeCondition.class) @Singleton public class SessionLogoutHandler extends java.lang.Object implements LogoutHandler
LogoutHandler
implementation for Session-Based Authentication.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
logout |
Constructor and Description |
---|
SessionLogoutHandler(RedirectConfiguration redirectConfiguration)
Constructor.
|
SessionLogoutHandler(SecuritySessionConfiguration securitySessionConfiguration)
Deprecated.
Use
SessionLogoutHandler(RedirectConfiguration) instead. |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.MutableHttpResponse<?> |
logout(io.micronaut.http.HttpRequest<?> request) |
@Deprecated public SessionLogoutHandler(SecuritySessionConfiguration securitySessionConfiguration)
SessionLogoutHandler(RedirectConfiguration)
instead.securitySessionConfiguration
- Security Session Configuration session store@Inject public SessionLogoutHandler(RedirectConfiguration redirectConfiguration)
redirectConfiguration
- Redirect Configurationpublic io.micronaut.http.MutableHttpResponse<?> logout(io.micronaut.http.HttpRequest<?> request)
logout
in interface LogoutHandler
request
- The HttpRequest
being executed