org.apache.jmeter.protocol.http.control

## Class Authorization

- java.lang.Object
- - org.apache.jmeter.testelement.AbstractTestElement
  - - org.apache.jmeter.protocol.http.control.Authorization

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Searchable, TestElement

      public class Authorization
      extends AbstractTestElement
      implements java.io.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 and Description
    `Authorization()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addConfigElement(ConfigElement config)`
    `boolean` | `expectsModification()`
    `java.lang.String` | `getDomain()`
    `AuthManager.Mechanism` | `getMechanism()`
    `java.lang.String` | `getPass()`
    `java.lang.String` | `getRealm()`
    `java.lang.String` | `getURL()`
    `java.lang.String` | `getUser()`
    `void` | `setDomain(java.lang.String domain)`
    `void` | `setMechanism(AuthManager.Mechanism mechanism)`
    `void` | `setPass(java.lang.String pass)`
    `void` | `setRealm(java.lang.String realm)`
    `void` | `setURL(java.lang.String url)`
    `void` | `setUser(java.lang.String user)`
    `java.lang.String` | `toBasicHeader()`
    `java.lang.String` | `toString()`

    - ### 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`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.jmeter.testelement.TestElement

      `removed`

- - ### Constructor Detail

    - #### Authorization

          public Authorization()

  - ### Method Detail

    - #### expectsModification

          public boolean expectsModification()

    - #### addConfigElement

          public void addConfigElement(ConfigElement config)

    - #### getURL

          public java.lang.String getURL()

    - #### setURL

          public void setURL(java.lang.String url)

    - #### getUser

          public java.lang.String getUser()

    - #### setUser

          public void setUser(java.lang.String user)

    - #### getPass

          public java.lang.String getPass()

    - #### setPass

          public void setPass(java.lang.String pass)

    - #### getDomain

          public java.lang.String getDomain()

    - #### setDomain

          public void setDomain(java.lang.String domain)

    - #### getRealm

          public java.lang.String getRealm()

    - #### setRealm

          public void setRealm(java.lang.String realm)

    - #### getMechanism

          public AuthManager.Mechanism getMechanism()

    - #### setMechanism

          public void setMechanism(AuthManager.Mechanism mechanism)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### toBasicHeader

          public java.lang.String toBasicHeader()

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.