Open Source Repository

Home /cxf/cxf-api-2.4.6 | Repository Home


org/apache/cxf/configuration/security/AuthorizationPolicy.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2012.01.19 at 02:13:18 PM EST 
//


package org.apache.cxf.configuration.security;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 
 *             This structure holds parameters that may govern authentication
 *             that use a User Password strategy.
 *             
 
 <p>Java class for AuthorizationPolicy complex type.
 
 <p>The following schema fragment specifies the expected content contained within this class.
 
 <pre>
 * &lt;complexType name="AuthorizationPolicy">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="UserName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="AuthorizationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Authorization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 </pre>
 
 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AuthorizationPolicy", propOrder = {
    "userName",
    "password",
    "authorizationType",
    "authorization"
})
@XmlSeeAlso({
    ProxyAuthorizationPolicy.class
})
public class AuthorizationPolicy {

    @XmlElement(name = "UserName")
    protected String userName;
    @XmlElement(name = "Password")
    protected String password;
    @XmlElement(name = "AuthorizationType")
    protected String authorizationType;
    @XmlElement(name = "Authorization")
    protected String authorization;

    /**
     * Gets the value of the userName property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserName() {
        return userName;
    }

    /**
     * Sets the value of the userName property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserName(String value) {
        this.userName = value;
    }

    public boolean isSetUserName() {
        return (this.userName!= null);
    }

    /**
     * Gets the value of the password property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPassword() {
        return password;
    }

    /**
     * Sets the value of the password property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPassword(String value) {
        this.password = value;
    }

    public boolean isSetPassword() {
        return (this.password!= null);
    }

    /**
     * Gets the value of the authorizationType property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAuthorizationType() {
        return authorizationType;
    }

    /**
     * Sets the value of the authorizationType property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAuthorizationType(String value) {
        this.authorizationType = value;
    }

    public boolean isSetAuthorizationType() {
        return (this.authorizationType!= null);
    }

    /**
     * Gets the value of the authorization property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAuthorization() {
        return authorization;
    }

    /**
     * Sets the value of the authorization property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAuthorization(String value) {
        this.authorization = value;
    }

    public boolean isSetAuthorization() {
        return (this.authorization!= null);
    }

}