org.apache.cxf.configuration.security.AuthorizationPolicy Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.07.27 at 06:07:15 PM CEST
//
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.
*
*
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AuthorizationPolicy", namespace = "http://cxf.apache.org/configuration/security", propOrder = {
"userName",
"password",
"authorizationType",
"authorization"
})
@XmlSeeAlso({
ProxyAuthorizationPolicy.class
})
public class AuthorizationPolicy {
@XmlElement(name = "UserName", namespace = "http://cxf.apache.org/configuration/security")
protected String userName;
@XmlElement(name = "Password", namespace = "http://cxf.apache.org/configuration/security")
protected String password;
@XmlElement(name = "AuthorizationType", namespace = "http://cxf.apache.org/configuration/security")
protected String authorizationType;
@XmlElement(name = "Authorization", namespace = "http://cxf.apache.org/configuration/security")
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);
}
}