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