public class Auth extends RulesConfig implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Auth.Condition
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected Auth.Condition |
condition |
protected java.lang.String |
domain |
protected java.lang.String |
host |
protected java.lang.String |
password |
protected Post |
post |
protected java.lang.String |
realm |
protected java.lang.String |
type |
protected java.lang.String |
username |
Constructor and Description |
---|
Auth()
Creates a new
Auth instance. |
Auth(Auth o)
Creates a new
Auth instance by deeply copying a given Auth instance. |
Modifier and Type | Method and Description |
---|---|
Auth |
clone()
Creates and returns a deep copy of this object.
|
Auth.Condition |
getCondition()
Gets the value of the condition property.
|
java.lang.String |
getDomain()
(default: null)
|
java.lang.String |
getHost()
(default: null)
|
java.lang.String |
getPassword()
(default: null)
|
Post |
getPost()
Gets the value of the post property.
|
java.lang.String |
getRealm()
(default: null)
|
java.lang.String |
getType()
(default: null)
|
java.lang.String |
getUsername()
// basic, digest, ntlm, form (default: null)
|
void |
setCondition(Auth.Condition value)
Sets the value of the condition property.
|
void |
setDomain(java.lang.String value)
Sets the value of the domain property.
|
void |
setHost(java.lang.String value)
Sets the value of the host property.
|
void |
setPassword(java.lang.String value)
Sets the value of the password property.
|
void |
setPost(Post value)
Sets the value of the post property.
|
void |
setRealm(java.lang.String value)
Sets the value of the realm property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
void |
setUsername(java.lang.String value)
Sets the value of the username property.
|
Auth |
withCondition(Auth.Condition value) |
Auth |
withDomain(java.lang.String value) |
Auth |
withHost(java.lang.String value) |
Auth |
withPassword(java.lang.String value) |
Auth |
withPost(Post value) |
Auth |
withRealm(java.lang.String value) |
Auth |
withType(java.lang.String value) |
Auth |
withUsername(java.lang.String value) |
protected Post post
protected Auth.Condition condition
protected java.lang.String type
protected java.lang.String username
protected java.lang.String password
protected java.lang.String realm
protected java.lang.String domain
protected java.lang.String host
public Auth()
Auth
instance.public Auth(Auth o)
Auth
instance by deeply copying a given Auth
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public void setPost(Post value)
value
- allowed object is
Post
public Auth.Condition getCondition()
Auth.Condition
public void setCondition(Auth.Condition value)
value
- allowed object is
Auth.Condition
public java.lang.String getType()
String
public void setType(java.lang.String value)
value
- allowed object is
String
public java.lang.String getUsername()
String
public void setUsername(java.lang.String value)
value
- allowed object is
String
public java.lang.String getPassword()
String
public void setPassword(java.lang.String value)
value
- allowed object is
String
public java.lang.String getRealm()
String
public void setRealm(java.lang.String value)
value
- allowed object is
String
public java.lang.String getDomain()
String
public void setDomain(java.lang.String value)
value
- allowed object is
String
public java.lang.String getHost()
String
public void setHost(java.lang.String value)
value
- allowed object is
String
public Auth withCondition(Auth.Condition value)
public Auth withType(java.lang.String value)
public Auth withUsername(java.lang.String value)
public Auth withPassword(java.lang.String value)
public Auth withRealm(java.lang.String value)
public Auth withDomain(java.lang.String value)
public Auth withHost(java.lang.String value)
public Auth clone()
clone
in class RulesConfig
Copyright © 2021 Dassault Systèmes, All Rights Reserved.