public class

AuthenticationTag

extends TagSupport
java.lang.Object
   ↳ TagSupport
     ↳ org.springframework.security.taglibs.authz.AuthenticationTag

Class Overview

An 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.

Summary

Public Constructors
AuthenticationTag()
Public Methods
int doEndTag()
int doStartTag()
void setHtmlEscape(String htmlEscape)
Set HTML escaping for this tag, as boolean value.
void setProperty(String operation)
void setScope(String scope)
void setVar(String var)
Protected Methods
boolean isHtmlEscape()
Return the HTML escaping setting for this tag, or the default setting if not overridden.
void writeMessage(String msg)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AuthenticationTag ()

Public Methods

public int doEndTag ()

Throws
JspException

public int doStartTag ()

Throws
JspException

public void setHtmlEscape (String htmlEscape)

Set HTML escaping for this tag, as boolean value.

Throws
JspException

public void setProperty (String operation)

public void setScope (String scope)

public void setVar (String var)

Protected Methods

protected boolean isHtmlEscape ()

Return the HTML escaping setting for this tag, or the default setting if not overridden.

protected void writeMessage (String msg)

Throws
JspException