Class EisBackendPrincipal
- java.lang.Object
-
- com.sun.enterprise.connectors.authentication.EisBackendPrincipal
-
- All Implemented Interfaces:
Serializable
public class EisBackendPrincipal extends Object implements Serializable
This a javabean class thatabstracts the backend principal. The backend principal consist of the userName and password which is used for authenticating/getting connection from the backend.- Author:
- Srikanth P
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EisBackendPrincipal()
Default constructorEisBackendPrincipal(String userName, String password)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object backendPrincipal)
Overloaded method from "Object" class Checks the equality.String
getPassword()
Getter method for Password propertyString
getUserName()
Getter method for UserName propertyint
hashCode()
Overloaded method from "Object" class Generates the hashcodevoid
setPassword(String password)
Setter method for password propertyvoid
setUserName(String userName)
Setter method for UserName property
-
-
-
Method Detail
-
setUserName
public void setUserName(String userName)
Setter method for UserName property- Parameters:
userName
- UserName
-
setPassword
public void setPassword(String password)
Setter method for password property- Parameters:
password
- Password
-
getUserName
public String getUserName()
Getter method for UserName property- Returns:
- UserName
-
getPassword
public String getPassword()
Getter method for Password property- Returns:
- Password
-
equals
public boolean equals(Object backendPrincipal)
Overloaded method from "Object" class Checks the equality.
-
-