public class AuthenticationTag
extends TagSupport
javax.servlet.jsp.tagext.Tag
implementation that allows convenient access to
the current Authentication
object.
Whilst JSPs can access the SecurityContext
directly, this tag avoids
handling null
conditions.
Constructor and Description |
---|
AuthenticationTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
protected boolean |
isHtmlEscape()
Return the HTML escaping setting for this tag, or the default setting if not
overridden.
|
void |
setHtmlEscape(java.lang.String htmlEscape)
Set HTML escaping for this tag, as boolean value.
|
void |
setProperty(java.lang.String operation) |
void |
setScope(java.lang.String scope) |
void |
setVar(java.lang.String var) |
protected void |
writeMessage(java.lang.String msg) |
public void setVar(java.lang.String var)
public void setProperty(java.lang.String operation)
public void setScope(java.lang.String scope)
public int doStartTag() throws JspException
JspException
public int doEndTag() throws JspException
JspException
protected void writeMessage(java.lang.String msg) throws JspException
JspException
public void setHtmlEscape(java.lang.String htmlEscape) throws JspException
JspException
protected boolean isHtmlEscape()