| java.security.Principal |
|
|
Principals are objects which have identities. These can be
individuals, groups, corporations, unique program executions, etc.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified object with this
Principal for equality
and returns true if the specified object is equal, false
otherwise.
| |||||||||||
Returns the name of this
Principal.
| |||||||||||
Returns the hash code value for this
Principal.
| |||||||||||
Returns a string containing a concise, human-readable description of
this
Principal.
| |||||||||||
Compares the specified object with this Principal for equality
and returns true if the specified object is equal, false
otherwise.
| Parameters | |
|---|---|
obj |
Object:
object to be compared for equality with this Principal. |
| Returns | |
|---|---|
boolean |
true if the specified object is equal to this Principal, otherwise false.
|
Returns the name of this Principal.
| Returns | |
|---|---|
String |
the name of this Principal.
|
Returns the hash code value for this Principal. Returns the same
hash code for Principals that are equal to each other as
required by the general contract of hashCode().
| Returns | |
|---|---|
int |
the hash code value for this Principal. |
See also:
Returns a string containing a concise, human-readable description of
this Principal.
| Returns | |
|---|---|
String |
a printable representation for this Principal.
|