Class LogoutSuccessHandlerImpl
java.lang.Object
org.craftercms.security.authentication.impl.LogoutSuccessHandlerImpl
- All Implemented Interfaces:
LogoutSuccessHandler
Default implementation for
LogoutSuccessHandlerImpl
, which
redirects to a target URL.- Author:
- avasquez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
handle
(org.craftercms.commons.http.RequestContext context) Redirects to the target URL.void
setTargetUrl
(String targetUrl)
-
Field Details
-
targetUrl
-
-
Constructor Details
-
LogoutSuccessHandlerImpl
public LogoutSuccessHandlerImpl()
-
-
Method Details
-
setTargetUrl
-
getTargetUrl
-
handle
public void handle(org.craftercms.commons.http.RequestContext context) throws SecurityProviderException, IOException Redirects to the target URL.- Specified by:
handle
in interfaceLogoutSuccessHandler
- Parameters:
context
- the request context- Throws:
SecurityProviderException
IOException
-