Package com.sun.enterprise.admin.util
Class AuthenticationInfo
- java.lang.Object
-
- com.sun.enterprise.admin.util.AuthenticationInfo
-
public final class AuthenticationInfo extends 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
Constructors Constructor Description AuthenticationInfo(String user, char[] password)The only way to construct the instances of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]getPassword()Returns the password in clear text.StringgetUser()Returns the user name.StringtoString()
-
-
-
Constructor Detail
-
AuthenticationInfo
public AuthenticationInfo(String user, char[] password)
The only way to construct the instances of this class.- Parameters:
user- the user name for the connectionpassword- the clear text password for the connection
-
-