public class LogoutTag extends javax.servlet.jsp.tagext.TagSupport
Logout tag for use with the Yale Central Authentication Service. Clears the indicated attribute and, if 'scope' is 'session', also invalidates the session. Finally, redirects to CAS's logout URL.
Constructor and Description |
---|
LogoutTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
void |
release() |
void |
setLogoutUrl(String logoutUrl) |
void |
setScope(String scope) |
void |
setVar(String var) |
public LogoutTag()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public void setLogoutUrl(String logoutUrl)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2018 Nuxeo. All rights reserved.