public class CredentialsTag
extends org.apache.commons.jelly.TagSupport
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_password |
protected java.lang.String |
_userName |
Constructor and Description |
---|
CredentialsTag() |
Modifier and Type | Method and Description |
---|---|
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
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
protected java.lang.String _userName
protected java.lang.String _password
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
xmlOutput
- a place to write outputjava.lang.Exception
- when any error occurspublic void setUserName(java.lang.String userName)
userName
- user namepublic void setPassword(java.lang.String password)
password
- passwordCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.