|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.org.DirectoryKey
This class defines LDAP directory keys for the WTPrincipalCache.
Field Summary | |
private String |
dn
|
private int |
hashcode
|
private String |
service
|
Constructor Summary | |
DirectoryKey()
No-arg constructor. |
|
DirectoryKey(String dn,
String service)
Construct an instance with a specific distinguished name and service name. |
Method Summary | |
boolean |
equals(Object other)
Returns true if a specified object matches this key. |
String |
getDn()
Returns the directory distinguished name associated with the key. |
String |
getService()
Returns the service name associated with the key. |
int |
hashCode()
Returns the hashcode of the key. |
void |
setDn(String dn)
Sets the directory distinguished name associated with the key. |
void |
setService(String service)
Sets the service name associated with the key. |
String |
toString()
Returns a String rendering of the key. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private String dn
private String service
private int hashcode
Constructor Detail |
public DirectoryKey()
public DirectoryKey(String dn, String service)
dn
- The distinguished name of the directory entry for which to
create a key.service
- The name of the service in which the entry resides.Method Detail |
public void setDn(String dn)
dn
- The distinguished name.public String getDn()
public void setService(String service)
service
- The service name.public String getService()
public boolean equals(Object other)
other
- The object to match against this key.
public String toString()
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |