public class VaadinRedirectLogoutHandler extends Object implements VaadinLogoutHandler
VaadinLogoutHandler.NullHandler| Constructor and Description |
|---|
VaadinRedirectLogoutHandler(VaadinRedirectStrategy redirectStrategy) |
VaadinRedirectLogoutHandler(VaadinRedirectStrategy redirectStrategy,
String logoutUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLogoutUrl()
Returns the URL to redirect to, by default
/logout. |
void |
onLogout()
Called when the user should be logged out.
|
void |
setLogoutUrl(String logoutUrl)
Sets the URL to redirect to.
|
public VaadinRedirectLogoutHandler(VaadinRedirectStrategy redirectStrategy)
public VaadinRedirectLogoutHandler(VaadinRedirectStrategy redirectStrategy, String logoutUrl)
public String getLogoutUrl()
/logout.public void setLogoutUrl(String logoutUrl)
public void onLogout()
VaadinLogoutHandleronLogout in interface VaadinLogoutHandlerCopyright © 2017. All rights reserved.