|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.jetty.SecurityHandlerTag
Declare a security handler for a Jetty http server
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
SecurityHandlerTag()
Creates a new instance of SecurityHandlerTag |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Perform the tag functionality. |
java.lang.String |
getauthenticationMethod()
Getter for property authenticationMethod. |
protected void |
initLoginConfig(org.mortbay.xml.XmlParser.Node node,
HttpContextTag httpContext)
|
protected void |
initSecurityConstraint(org.mortbay.xml.XmlParser.Node node,
HttpContextTag httpContext)
|
void |
setauthenticationMethod(java.lang.String authenticationMethod)
Setter for property authenticationMethod. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecurityHandlerTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput) throws org.apache.commons.jelly.JellyTagException
xmlOutput
- where to send output
java.lang.Exception
- when an error occurs
org.apache.commons.jelly.JellyTagException
protected void initSecurityConstraint(org.mortbay.xml.XmlParser.Node node, HttpContextTag httpContext)
protected void initLoginConfig(org.mortbay.xml.XmlParser.Node node, HttpContextTag httpContext)
public java.lang.String getauthenticationMethod()
public void setauthenticationMethod(java.lang.String authenticationMethod)
authenticationMethod
- Type of authentication (BASIC, FORM, DIGEST, CLIENT-CERT)
Note that only BASIC and CLIENT-CERT are supported by Jetty as of v4.1.1
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |