public interface Authorizer
authorize(javax.security.auth.Subject, com.tangosol.net.ClusterPermission)
method to perform its
own authorization.Modifier and Type | Method | Description |
---|---|---|
Subject |
authorize(Subject subject,
ClusterPermission permission) |
Authorize the caller to perform the action specified by the permission.
|
Subject authorize(Subject subject, ClusterPermission permission)
subject
- the current caller's Subject if known (may be null)permission
- the permission that represents the targets and the action
to be performed against the targetsSecurityException
- if the caller's identity cannot established or they
lack permission to execute the requested action