Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (this == obj) return true;
if (obj == null) return false;
if (obj instanceof ClientSecurityInfo) {
ClientSecurityInfo other = (ClientSecurityInfo) obj;
return ((isEqual(prin, other.prin)) &&
(isEqual(info, other.info)));
}
return false;
|
public javax.resource.spi.ConnectionRequestInfo | getConnectionRequestInfo()
return info;
|
public com.sun.enterprise.deployment.ResourcePrincipal | getPrincipal()
return prin;
|
public int | hashCode()
int result = NULL_HASH_CODE;
if (prin != null) {
result = prin.hashCode();
}
if (info != null) {
result += info.hashCode();
}
return result;
|
private boolean | isEqual(java.lang.Object a, java.lang.Object b)
if (a == null) {
return (b == null);
} else {
return (a.equals(b));
}
|
public java.lang.String | toString()
return "ClientSecurityInfo: prin=" + prin + " info="+info;
|