GroupPrincipal
, UserPrincipal
HttpPrincipal
, Identity
, IdentityScope
, JMXPrincipal
, KerberosPrincipal
, LdapPrincipal
, NTDomainPrincipal
, NTSid
, NTSidDomainPrincipal
, NTSidGroupPrincipal
, NTSidPrimaryGroupPrincipal
, NTSidUserPrincipal
, NTUserPrincipal
, Signer
, UnixNumericGroupPrincipal
, UnixNumericUserPrincipal
, UnixPrincipal
, UserPrincipal
, X500Principal
public interface Principal
This interface represents the abstract notion of a Principal
, which can be used to represent any entity, such as an individual, a corporation, and a login id.
boolean
Compares this Principal
to the specified object.
Returns the name of this Principal
.
int
Returns a hashcode for this Principal
.
default boolean
Returns true
if the specified subject is implied by this Principal
.
Returns a string representation of this Principal
.
Compares this Principal
to the specified object. Returns true
if the object passed in matches the Principal
represented by the implementation of this interface.
Returns a string representation of this Principal
.
int hashCode()
Returns a hashcode for this Principal
.
Returns the name of this Principal
.
Principal
.
Returns true
if the specified subject is implied by this Principal
.
true
if subject
is non-null and contains at least one Principal
that is equal to this Principal
.
Subclasses may override this with a different implementation, if necessary.
subject
- the Subject
true
if subject
is non-null and is implied by this Principal
, or false otherwise.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4