org.apache.cxf.configuration.security

## Class AuthorizationPolicy

- java.lang.Object
- - org.apache.cxf.configuration.security.AuthorizationPolicy

- Direct Known Subclasses:
    ProxyAuthorizationPolicy

      public class AuthorizationPolicy
      extends Object

  This structure holds parameters that may govern authentication that use a User Password strategy.

  Java class for AuthorizationPolicy complex type.

  The following schema fragment specifies the expected content contained within this class.

       <complexType name="AuthorizationPolicy">
         <complexContent>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             <sequence>
               <element name="UserName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
               <element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
               <element name="AuthorizationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
               <element name="Authorization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             </sequence>
           </restriction>
         </complexContent>
       </complexType>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `authorization`
    `protected String` | `authorizationType`
    `protected String` | `password`
    `protected String` | `userName`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthorizationPolicy()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAuthorization()` Gets the value of the authorization property.
    `String` | `getAuthorizationType()` Gets the value of the authorizationType property.
    `String` | `getPassword()` Gets the value of the password property.
    `String` | `getUserName()` Gets the value of the userName property.
    `boolean` | `isSetAuthorization()`
    `boolean` | `isSetAuthorizationType()`
    `boolean` | `isSetPassword()`
    `boolean` | `isSetUserName()`
    `void` | `setAuthorization(String value)` Sets the value of the authorization property.
    `void` | `setAuthorizationType(String value)` Sets the value of the authorizationType property.
    `void` | `setPassword(String value)` Sets the value of the password property.
    `void` | `setUserName(String value)` Sets the value of the userName property.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### userName

          protected String userName

    - #### password

          protected String password

    - #### authorizationType

          protected String authorizationType

    - #### authorization

          protected String authorization

  - ### Constructor Detail

    - #### AuthorizationPolicy

          public AuthorizationPolicy()

  - ### Method Detail

    - #### getUserName

          public String getUserName()

      Gets the value of the userName property.
      Returns:
        possible object is `String`

    - #### setUserName

          public void setUserName(String value)

      Sets the value of the userName property.
      Parameters:
        `value` - allowed object is `String`

    - #### isSetUserName

          public boolean isSetUserName()

    - #### getPassword

          public String getPassword()

      Gets the value of the password property.
      Returns:
        possible object is `String`

    - #### setPassword

          public void setPassword(String value)

      Sets the value of the password property.
      Parameters:
        `value` - allowed object is `String`

    - #### isSetPassword

          public boolean isSetPassword()

    - #### getAuthorizationType

          public String getAuthorizationType()

      Gets the value of the authorizationType property.
      Returns:
        possible object is `String`

    - #### setAuthorizationType

          public void setAuthorizationType(String value)

      Sets the value of the authorizationType property.
      Parameters:
        `value` - allowed object is `String`

    - #### isSetAuthorizationType

          public boolean isSetAuthorizationType()

    - #### getAuthorization

          public String getAuthorization()

      Gets the value of the authorization property.
      Returns:
        possible object is `String`

    - #### setAuthorization

          public void setAuthorization(String value)

      Sets the value of the authorization property.
      Parameters:
        `value` - allowed object is `String`

    - #### isSetAuthorization

          public boolean isSetAuthorization()

Apache CXF