|
||||||||||
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.latka.jelly.CredentialsTag
public class CredentialsTag
Basic authentication support for requests
Field Summary | |
---|---|
protected String |
_password
|
protected String |
_userName
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
CredentialsTag()
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Set user credentials |
void |
setPassword(String password)
Sets the password for basic authentication |
void |
setUserName(String userName)
Sets the user name for basic authentication |
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 |
---|
protected String _userName
protected String _password
Constructor Detail |
---|
public CredentialsTag()
Method Detail |
---|
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
xmlOutput
- a place to write output
Exception
- when any error occurspublic void setUserName(String userName)
userName
- user namepublic void setPassword(String password)
password
- password
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |