Class AuthorizationPolicy
- Direct Known Subclasses:
ProxyAuthorizationPolicy
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
FieldsModifier and TypeFieldDescriptionprotected StringActual authentication data for server, if not using username and password based "BASIC" authentication If username and password are used, this does not need to be set.protected StringType of authentication to use with server, if not using username and password based "BASIC" authentication.protected StringPassword for server BASIC authentication login (some servers require users to authenticate with the server -- see also UserName, AuthorizationType, and Authorization)protected StringUser Name for server BASIC authentication login (some servers require users to authenticate with the server -- see also Password, AuthorizationType, and Authorization) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the authorization property.Gets the value of the authorizationType property.Gets the value of the password property.Gets the value of the userName property.booleanbooleanbooleanbooleanvoidsetAuthorization(String value) Sets the value of the authorization property.voidsetAuthorizationType(String value) Sets the value of the authorizationType property.voidsetPassword(String value) Sets the value of the password property.voidsetUserName(String value) Sets the value of the userName property.
-
Field Details
-
userName
User Name for server BASIC authentication login (some servers require users to authenticate with the server -- see also Password, AuthorizationType, and Authorization) -
password
Password for server BASIC authentication login (some servers require users to authenticate with the server -- see also UserName, AuthorizationType, and Authorization) -
authorizationType
Type of authentication to use with server, if not using username and password based "BASIC" authentication. If username and password are used, this does not need to be set. (some servers require users to authenticate with the server -- see also UserName, Password, and Authorization) -
authorization
Actual authentication data for server, if not using username and password based "BASIC" authentication If username and password are used, this does not need to be set. (some servers require users to authenticate with the server -- see also UserName, Password, and AuthorizationType)
-
-
Constructor Details
-
AuthorizationPolicy
public AuthorizationPolicy()
-
-
Method Details
-
getUserName
Gets the value of the userName property.User Name for server BASIC authentication login (some servers require users to authenticate with the server -- see also Password, AuthorizationType, and Authorization)
- Returns:
- possible object is
String
-
setUserName
Sets the value of the userName property.- Parameters:
value- allowed object isString- See Also:
-
isSetUserName
public boolean isSetUserName() -
getPassword
Gets the value of the password property.Password for server BASIC authentication login (some servers require users to authenticate with the server -- see also UserName, AuthorizationType, and Authorization)
- Returns:
- possible object is
String
-
setPassword
Sets the value of the password property.- Parameters:
value- allowed object isString- See Also:
-
isSetPassword
public boolean isSetPassword() -
getAuthorizationType
Gets the value of the authorizationType property.Type of authentication to use with server, if not using username and password based "BASIC" authentication. If username and password are used, this does not need to be set. (some servers require users to authenticate with the server -- see also UserName, Password, and Authorization)
- Returns:
- possible object is
String
-
setAuthorizationType
Sets the value of the authorizationType property.- Parameters:
value- allowed object isString- See Also:
-
isSetAuthorizationType
public boolean isSetAuthorizationType() -
getAuthorization
Gets the value of the authorization property.Actual authentication data for server, if not using username and password based "BASIC" authentication If username and password are used, this does not need to be set. (some servers require users to authenticate with the server -- see also UserName, Password, and AuthorizationType)
- Returns:
- possible object is
String
-
setAuthorization
Sets the value of the authorization property.- Parameters:
value- allowed object isString- See Also:
-
isSetAuthorization
public boolean isSetAuthorization()
-