Liking cljdoc? Tell your friends :D

javax.security.sasl.AuthorizeCallback

This callback is used by SaslServer to determine whether one entity (identified by an authenticated authentication id) can act on behalf of another entity (identified by an authorization id).

This callback is used by SaslServer to determine whether
one entity (identified by an authenticated authentication id)
can act on
behalf of another entity (identified by an authorization id).
raw docstring

->authorize-callbackclj

(->authorize-callback authn-id authz-id)

Constructor.

Constructs an instance of AuthorizeCallback.

authn-id - The (authenticated) authentication id. - java.lang.String authz-id - The authorization id. - java.lang.String

Constructor.

Constructs an instance of AuthorizeCallback.

authn-id - The (authenticated) authentication id. - `java.lang.String`
authz-id - The authorization id. - `java.lang.String`
raw docstring

authorized?clj

(authorized? this)

Determines whether the authentication id is allowed to act on behalf of the authorization id.

returns: true if authorization is allowed; false otherwise - boolean

Determines whether the authentication id is allowed to
 act on behalf of the authorization id.

returns: true if authorization is allowed; false otherwise - `boolean`
raw docstring

get-authentication-idclj

(get-authentication-id this)

Returns the authentication id to check.

returns: The authentication id to check. - java.lang.String

Returns the authentication id to check.

returns: The authentication id to check. - `java.lang.String`
raw docstring

get-authorization-idclj

(get-authorization-id this)

Returns the authorization id to check.

returns: The authentication id to check. - java.lang.String

Returns the authorization id to check.

returns: The authentication id to check. - `java.lang.String`
raw docstring

get-authorized-idclj

(get-authorized-id this)

Returns the id of the authorized user.

returns: The id of the authorized user. null means the authorization failed. - java.lang.String

Returns the id of the authorized user.

returns: The id of the authorized user. null means the
 authorization failed. - `java.lang.String`
raw docstring

set-authorizedclj

(set-authorized this ok)

Sets whether the authorization is allowed.

ok - true if authorization is allowed; false otherwise - boolean

Sets whether the authorization is allowed.

ok - true if authorization is allowed; false otherwise - `boolean`
raw docstring

set-authorized-idclj

(set-authorized-id this id)

Sets the id of the authorized entity. Called by handler only when the id is different from getAuthorizationID(). For example, the id might need to be canonicalized for the environment in which it will be used.

id - The id of the authorized user. - java.lang.String

Sets the id of the authorized entity. Called by handler only when the id
 is different from getAuthorizationID(). For example, the id
 might need to be canonicalized for the environment in which it
 will be used.

id - The id of the authorized user. - `java.lang.String`
raw docstring

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

× close