Liking cljdoc? Tell your friends :D

jdk.security.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.

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.
raw docstring

equalsclj

(equals this another)

Compares this principal to the specified object. Returns true if the object passed in matches the principal represented by the implementation of this interface.

another - principal to compare with. - java.lang.Object

returns: true if the principal passed in is the same as that encapsulated by this principal, and false otherwise. - boolean

Compares this principal to the specified object.  Returns true
 if the object passed in matches the principal represented by
 the implementation of this interface.

another - principal to compare with. - `java.lang.Object`

returns: true if the principal passed in is the same as that
 encapsulated by this principal, and false otherwise. - `boolean`
raw docstring

get-nameclj

(get-name this)

Returns the name of this principal.

returns: the name of this principal. - java.lang.String

Returns the name of this principal.

returns: the name of this principal. - `java.lang.String`
raw docstring

hash-codeclj

(hash-code this)

Returns a hashcode for this principal.

returns: a hashcode for this principal. - int

Returns a hashcode for this principal.

returns: a hashcode for this principal. - `int`
raw docstring

impliesclj

(implies this subject)

Returns true if the specified subject is implied by this principal.

The default implementation of this method returns 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 - javax.security.auth.Subject

returns: true if subject is non-null and is implied by this principal, or false otherwise. - default boolean

Returns true if the specified subject is implied by this principal.

 The default implementation of this method returns 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 - `javax.security.auth.Subject`

returns: true if subject is non-null and is
              implied by this principal, or false otherwise. - `default boolean`
raw docstring

to-stringclj

(to-string this)

Returns a string representation of this principal.

returns: a string representation of this principal. - java.lang.String

Returns a string representation of this principal.

returns: a string representation of this principal. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close