public final class LogoutSuccessEventPublishingLogoutHandler extends java.lang.Object implements LogoutHandler, org.springframework.context.ApplicationEventPublisherAware
LogoutSuccessEvent
Constructor and Description |
---|
LogoutSuccessEventPublishingLogoutHandler() |
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.
|
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
public LogoutSuccessEventPublishingLogoutHandler()
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 detailspublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware