com.sas.services.security.login
Class PFSCredential
java.lang.Object
|
+--com.sas.services.security.login.PFSCredential
- All Implemented Interfaces:
- public class PFSCredential
- extends Object
- implements java.io.Serializable
This class represents a credential set that has
been authenticated by the SAS Platform Services
authentication mechanisms.
- Since:
- 1.0
- See Also:
- Serialized Form
|
Constructor Summary |
PFSCredential(String user,
String password,
String domain)
Construct a new PFSCredential with a user, password, and
an authentication domain string. |
|
Method Summary |
boolean |
equals(Object o)
This method returns true if the object passed in is equal
to this one. |
String |
getDomain()
Get the String for the authentication domain name. |
String |
getPassword()
Get the authenticated password. |
String |
getUserId()
Get the user ID that was authenticated with this credential set. |
PFSCredential
public PFSCredential(String user,
String password,
String domain)
- Construct a new PFSCredential with a user, password, and
an authentication domain string.
getUserId
public String getUserId()
- Get the user ID that was authenticated with this credential set.
- Returns:
- The authenticated user ID.
getPassword
public String getPassword()
- Get the authenticated password.
- Returns:
- The authenticated password.
getDomain
public String getDomain()
- Get the String for the authentication domain name.
- Returns:
- The authentication domain name.
equals
public boolean equals(Object o)
- This method returns true if the object passed in is equal
to this one. If the object is a PFSCredential, and the
userId, password, and domain all equal the values in this
object, the two objects are considered equal.
- Overrides:
equals in class Object
- Parameters:
o - The object to compare.- Returns:
- true if o equals this object, false otherwise.
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02