java.lang.Object | |
↳ | 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).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an instance of AuthorizeCallback.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the authentication id to check.
| |||||||||||
Returns the authorization id to check.
| |||||||||||
Returns the id of the authorized user.
| |||||||||||
Determines whether the authentication id is allowed to
act on behalf of the authorization id.
| |||||||||||
Sets whether the authorization is allowed.
| |||||||||||
Sets the id of the authorized entity.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs an instance of AuthorizeCallback.
authnID | The (authenticated) authentication id. |
---|---|
authzID | The authorization id. |
Returns the authentication id to check.
Returns the authorization id to check.
Returns the id of the authorized user.
Determines whether the authentication id is allowed to act on behalf of the authorization id.
Sets whether the authorization is allowed.
ok | true if authorization is allowed; false otherwise |
---|
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. |
---|