public class ClientCredential extends Object
| Modifier and Type | Field and Description |
|---|---|
protected XML.Password |
password |
protected List<Property> |
property |
protected String |
realm |
protected String |
userName |
| Constructor and Description |
|---|
ClientCredential() |
ClientCredential(String userName,
XML.Password password,
String realm) |
| Modifier and Type | Method and Description |
|---|---|
XML.Password |
getPassword()
Gets the value of the password property.
|
List<Property> |
getProperty()
Gets the value of the property property.
|
String |
getRealm()
Gets the value of the realm property.
|
String |
getUserName()
Gets the value of the userName property.
|
void |
setPassword(XML.Password value)
Sets the value of the password property.
|
void |
setRealm(String value)
Sets the value of the realm property.
|
void |
setUserName(String value)
Sets the value of the userName property.
|
protected String userName
protected XML.Password password
protected String realm
public ClientCredential()
public ClientCredential(String userName, XML.Password password, String realm)
public String getUserName()
Stringpublic void setUserName(String value)
value - allowed object is
Stringpublic XML.Password getPassword()
Stringpublic void setPassword(XML.Password value)
value - allowed object is
Stringpublic String getRealm()
Stringpublic void setRealm(String value)
value - allowed object is
Stringpublic List<Property> getProperty()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
Property
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.