|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authorizer
This interface represents an environment-specific facility for authorizing callers to perform actions described by the corresponding permission objects. Such authorization executes before or in place of the Coherence specific JAAS based security checks (see AccessController). Moreover, if Coherence authorization is configured, it must use the Subject object returned by the authorize(javax.security.auth.Subject, com.tangosol.net.ClusterPermission)
method to perform its own authorization.
Method Summary | |
---|---|
javax.security.auth.Subject |
authorize(javax.security.auth.Subject subject, ClusterPermission permission) Authorize the caller to perform the action specified by the permission. |
Method Detail |
---|
javax.security.auth.Subject authorize(javax.security.auth.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 targetsjava.lang.SecurityException
- if the caller's identity cannot established or they lack permission to execute the requested action
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |