Class Authorization
- java.lang.Object
-
- org.apache.jmeter.testelement.AbstractTestElement
-
- org.apache.jmeter.protocol.http.control.Authorization
-
- All Implemented Interfaces:
Serializable,Cloneable,Searchable,TestElement
public class Authorization extends AbstractTestElement implements Serializable
This class is an Authorization encapsulator.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
-
-
Constructor Summary
Constructors Constructor Description Authorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfigElement(ConfigElement config)booleanexpectsModification()StringgetDomain()AuthManager.MechanismgetMechanism()StringgetPass()StringgetRealm()StringgetURL()StringgetUser()voidsetDomain(String domain)voidsetMechanism(AuthManager.Mechanism mechanism)voidsetPass(String pass)voidsetRealm(String realm)voidsetURL(String url)voidsetUser(String user)StringtoBasicHeader()StringtoString()-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
-
-
-
-
Method Detail
-
expectsModification
public boolean expectsModification()
-
addConfigElement
public void addConfigElement(ConfigElement config)
-
getURL
public String getURL()
-
setURL
public void setURL(String url)
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
getPass
public String getPass()
-
setPass
public void setPass(String pass)
-
getDomain
public String getDomain()
-
setDomain
public void setDomain(String domain)
-
getRealm
public String getRealm()
-
setRealm
public void setRealm(String realm)
-
getMechanism
public AuthManager.Mechanism getMechanism()
-
setMechanism
public void setMechanism(AuthManager.Mechanism mechanism)
-
toBasicHeader
public String toBasicHeader()
-
-