public final class HeaderWriterLogoutHandler extends java.lang.Object implements LogoutHandler
Constructor and Description |
---|
HeaderWriterLogoutHandler(HeaderWriter headerWriter)
Constructs a new instance using the passed
HeaderWriter implementation |
Modifier and Type | Method and Description |
---|---|
void |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication)
Causes a logout to be completed.
|
public HeaderWriterLogoutHandler(HeaderWriter headerWriter)
HeaderWriter
implementationheaderWriter
- {@link
- IllegalArgumentException} if headerWriter is null.public void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication)
LogoutHandler
logout
in interface LogoutHandler
request
- the HTTP requestresponse
- the HTTP responseauthentication
- the current principal details