|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jutil.PDRgyName
com.tivoli.pd.jutil.PDRgyUserName
public class PDRgyUserName
This class represents the name of a user object in Policy Director's backing store. The backing store may be an LDAP or Active Directory database, for example.
Modes: Local,Remote
Constructor Summary | |
---|---|
PDRgyUserName(java.lang.String name)
Constructs a PDRgyUserName with the specified registry name. |
|
PDRgyUserName(java.lang.String rgyName,
java.lang.String firstName,
java.lang.String lastName)
Constructs a PDRgyUserName with the specified registry name, first name and last name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object another)
Compares this registry user name to the specified object. |
java.lang.String |
getFirstName()
Returns the first name of this registry user. |
java.lang.String |
getLastName()
Returns the last name of this registry user. |
void |
setFirstName(java.lang.String name)
Sets the first name of this registry user to the input name. |
void |
setLastName(java.lang.String name)
Sets the last name of this registry user to the input name. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class com.tivoli.pd.jutil.PDRgyName |
---|
clone, getName, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDRgyUserName(java.lang.String name)
Note that if an LDAP registry is being used, a registry user name
must include a first name (which corresponds to the LDAP Common Name
(CN) attribute) and a last name (which corresponds to the LDAP Surname
(SN) attribute). Thus, an LDAP registry user name created with this
constructor must have the first name and last name set with the
setFirstName
and setLastName
methods, respectively. Alternatively, an LDAP registry user name may
be constructed in a single step with the three-argument constructor.
name
- the registry user name.public PDRgyUserName(java.lang.String rgyName, java.lang.String firstName, java.lang.String lastName)
rgyName
- the registry user name. For LDAP registry user names,
this corresponds to an LDAP Distinguished Name (DN) attribute and must
be in Relative Distinguished Name (RDN) format.firstName
- the user's first name. For LDAP registry user names,
this corresponds to an LDAP Common Name (CN) attribute.lastName
- the user's last name. For LDAP registry user names,
this corresponds to an LDAP Surname (SN) attribute.Method Detail |
---|
public java.lang.String getFirstName()
public java.lang.String getLastName()
public void setFirstName(java.lang.String name)
public void setLastName(java.lang.String name)
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class PDRgyName
public boolean equals(java.lang.Object another)
equals
in interface java.security.Principal
equals
in class PDRgyName
another
- registry user name to compare with.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |