java.lang.Object | |
↳ | org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler |
Performs a logout by modifying the SecurityContextHolder
.
Will also invalidate the HttpSession if isInvalidateHttpSession()
is true
and the
session is not null
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Requires the request to be passed in.
| |||||||||||
Causes the HttpSession to be invalidated when this
LogoutHandler is invoked. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.web.authentication.logout.LogoutHandler
|
Requires the request to be passed in.
request | from which to obtain a HTTP session (cannot be null) |
---|---|
response | not used (can be null ) |
authentication | not used (can be null )
|
Causes the HttpSession to be invalidated when this LogoutHandler
is invoked. Defaults to true.
invalidateHttpSession | true if you wish the session to be invalidated (default) or false if it should not be. |
---|