java.security.Principal |
Known Indirect Subclasses |
Principal
s 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.
obj |
object to be compared for equality with this
Principal
.
|
---|
true
if the specified object is equal to this
Principal
, otherwise
false
.
Returns the name of this
Principal
.
Principal
.
Returns the hash code value for this
Principal
. Returns the same
hash code for
Principal
s that are equal to each other as
required by the general contract of
hashCode()
.
Principal
.
Returns a string containing a concise, human-readable description of
this
Principal
.
Principal
.