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).
See also:
Constructors
public AuthorizeCallback
(String authnID, String authzID)
Constructs an instance of AuthorizeCallback.
Constructs an instance of AuthorizeCallback.
Parameters: - authnID - The (authenticated) authentication id.
- authzID - The authorization 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.
Parameters: - id - The id of the authorized user.
See Also:AuthorizeCallback.setAuthorized(boolean),
AuthorizeCallback.getAuthorizedID(),