FileDocCategorySizeDatePackage
AuthenticationInfo.javaAPI DocGlassfish v2 API3035Fri May 04 22:36:22 BST 2007com.sun.enterprise.admin.jmx.remote.comm

AuthenticationInfo

public final class AuthenticationInfo extends Object
An class that holds the user and password for the connection to the server. Instances of this class are immutable.
author
Kedar Mhaswade
since
S1AS7.0
version
1.0

Fields Summary
private final String
user
private final String
password
Constructors Summary
public AuthenticationInfo(String user, String password)
The only way to construct the instances of this class.

param
user the user name for the connection
param
password the clear text password for the connection

		this.user       = user;
		this.password   = password;
	
Methods Summary
public java.lang.StringgetPassword()
Returns the password in clear text.

return
String

		return password;
	
public java.lang.StringgetUser()
Returns the user name.

return
String

		return user;