JCas
v0.3.1

cas.taglib
Class AuthTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycas.taglib.AuthTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, Serializable, javax.servlet.jsp.tagext.Tag

public class AuthTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Generated tag class.

See Also:
Serialized Form

Field Summary
protected  JCasClient client
          The authorization client
protected static sun.misc.BASE64Decoder decoder
          BASE64 decode.
static String DEFAULT_NAME
          Default Cookie Name.
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AuthTag()
          Creates the tag handler.
 
Method Summary
 int doEndTag()
          This method is called after the JSP engine finished processing the tag.
 String getCookie()
           
 int getPort()
           
 String getScheme()
           
 String getServer()
           
 void release()
           
 void setCookie(String value)
           
 void setPort(String value)
           
 void setScheme(String value)
           
 void setServer(String value)
           
 void setSSL(String value)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
Default Cookie Name.

See Also:
Constant Field Values

decoder

protected static sun.misc.BASE64Decoder decoder
BASE64 decode.


client

protected JCasClient client
The authorization client

Constructor Detail

AuthTag

public AuthTag()
Creates the tag handler.

Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException,
                    javax.servlet.jsp.JspException
This method is called after the JSP engine finished processing the tag.

Returns:
EVAL_PAGE if the JSP engine should continue evaluating the JSP page, otherwise return SKIP_PAGE. This method is automatically generated. Do not modify this method. Instead, modify the methods that this method calls.
Throws:
javax.servlet.jsp.JspException

getScheme

public String getScheme()

setScheme

public void setScheme(String value)

getCookie

public String getCookie()

setCookie

public void setCookie(String value)

getServer

public String getServer()

setServer

public void setServer(String value)

getPort

public int getPort()

setPort

public void setPort(String value)

setSSL

public void setSSL(String value)

release

public void release()

JCas
v0.3.1