org.glassfish.appclient.client.acc.config
Class ClientCredential

java.lang.Object
  extended by org.glassfish.appclient.client.acc.config.ClientCredential

public class ClientCredential
extends java.lang.Object


Field Summary
protected  XML.Password password
           
protected  java.util.List<Property> property
           
protected  java.lang.String realm
           
protected  java.lang.String userName
           
 
Constructor Summary
ClientCredential()
           
ClientCredential(java.lang.String userName, XML.Password password, java.lang.String realm)
           
 
Method Summary
 XML.Password getPassword()
          Gets the value of the password property.
 java.util.List<Property> getProperty()
          Gets the value of the property property.
 java.lang.String getRealm()
          Gets the value of the realm property.
 java.lang.String getUserName()
          Gets the value of the userName property.
 void setPassword(XML.Password value)
          Sets the value of the password property.
 void setRealm(java.lang.String value)
          Sets the value of the realm property.
 void setUserName(java.lang.String value)
          Sets the value of the userName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

protected java.lang.String userName

password

protected XML.Password password

realm

protected java.lang.String realm

property

protected java.util.List<Property> property
Constructor Detail

ClientCredential

public ClientCredential()

ClientCredential

public ClientCredential(java.lang.String userName,
                        XML.Password password,
                        java.lang.String realm)
Method Detail

getUserName

public java.lang.String getUserName()
Gets the value of the userName property.

Returns:
possible object is String

setUserName

public void setUserName(java.lang.String value)
Sets the value of the userName property.

Parameters:
value - allowed object is String

getPassword

public XML.Password getPassword()
Gets the value of the password property.

Returns:
possible object is String

setPassword

public void setPassword(XML.Password value)
Sets the value of the password property.

Parameters:
value - allowed object is String

getRealm

public java.lang.String getRealm()
Gets the value of the realm property.

Returns:
possible object is String

setRealm

public void setRealm(java.lang.String value)
Sets the value of the realm property.

Parameters:
value - allowed object is String

getProperty

public java.util.List<Property> getProperty()
Gets the value of the property property.

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 © 2012 GlassFish Community. All Rights Reserved.