Class LogoutSuccessHandlerImpl
- java.lang.Object
-
- org.craftercms.security.authentication.impl.LogoutSuccessHandlerImpl
-
- All Implemented Interfaces:
LogoutSuccessHandler
public class LogoutSuccessHandlerImpl extends Object implements LogoutSuccessHandler
Default implementation forLogoutSuccessHandlerImpl, which redirects to a target URL.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description LogoutSuccessHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTargetUrl()voidhandle(org.craftercms.commons.http.RequestContext context)Redirects to the target URL.voidsetTargetUrl(String targetUrl)
-
-
-
Field Detail
-
targetUrl
protected String targetUrl
-
-
Method Detail
-
setTargetUrl
public void setTargetUrl(String targetUrl)
-
getTargetUrl
protected String getTargetUrl()
-
handle
public void handle(org.craftercms.commons.http.RequestContext context) throws SecurityProviderException, IOExceptionRedirects to the target URL.- Specified by:
handlein interfaceLogoutSuccessHandler- Parameters:
context- the request context- Throws:
SecurityProviderExceptionIOException
-
-