public class UserPrincipal
extends java.lang.Object
implements java.security.Principal
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
iPrincipal |
Constructor and Description |
---|
UserPrincipal(java.lang.String pPrincipal) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Returns the principal's name.
|
int |
hashCode() |
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object o)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.