|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.jetty.SecurityHandlerTag
Declare a security handler for a Jetty http server
Field Summary | |
private java.lang.String |
_authenticationMethod
parameter authentication method, defaults to BASIC in Jetty |
private org.mortbay.jetty.servlet.FormAuthenticator |
_formAuthenticator
a form authenticator used by this tag |
private org.apache.commons.logging.Log |
log
|
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 |
Field Detail |
private org.apache.commons.logging.Log log
private transient org.mortbay.jetty.servlet.FormAuthenticator _formAuthenticator
private java.lang.String _authenticationMethod
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) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
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 |