Package org.apache.shiro.web.tags
Class SecureTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.shiro.web.tags.SecureTag
-
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
AuthenticatedTag,GuestTag,NotAuthenticatedTag,PermissionTag,PrincipalTag,RoleTag,UserTag
public abstract class SecureTag extends javax.servlet.jsp.tagext.TagSupport- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecureTag()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intdoStartTag()protected org.apache.shiro.subject.SubjectgetSubject()abstract intonDoStartTag()protected voidverifyAttributes()
-
-
-
Method Detail
-
getSubject
protected org.apache.shiro.subject.Subject getSubject()
-
verifyAttributes
protected void verifyAttributes() throws javax.servlet.jsp.JspException- Throws:
javax.servlet.jsp.JspException
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
onDoStartTag
public abstract int onDoStartTag() throws javax.servlet.jsp.JspException- Throws:
javax.servlet.jsp.JspException
-
-