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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringvoidhandle(org.craftercms.commons.http.RequestContext context) Redirects to the target URL.voidsetTargetUrl(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:
handlein interfaceLogoutSuccessHandler- Parameters:
context- the request context- Throws:
SecurityProviderExceptionIOException
-