com.sun.enterprise.admin.util
Class AuthenticationInfo

java.lang.Object
  extended by com.sun.enterprise.admin.util.AuthenticationInfo

public final class AuthenticationInfo
extends java.lang.Object

A class that holds the user and password for the connection to the server. Used by the HttpConnectorAddress class. Instances of this class are immutable.


Constructor Summary
AuthenticationInfo(java.lang.String user, java.lang.String password)
          The only way to construct the instances of this class.
 
Method Summary
 java.lang.String getPassword()
          Returns the password in clear text.
 java.lang.String getUser()
          Returns the user name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationInfo

public AuthenticationInfo(java.lang.String user,
                          java.lang.String password)
The only way to construct the instances of this class.

Parameters:
user - the user name for the connection
password - the clear text password for the connection
Method Detail

getUser

public java.lang.String getUser()
Returns the user name.

Returns:
String

getPassword

public java.lang.String getPassword()
Returns the password in clear text.

Returns:
String


Copyright © 2012 GlassFish Community. All Rights Reserved.