public interface Authorizer
The isAllowed() method may be called from multiple threads simultaneously.
The EMS server will cache the results returned by this call. The caching behavior is controlled by the methods of AuthorizationResult.
An implementation may return null from isAllowed(). This is interpreted as "no opinion," which means that the authorization decision may be passed on to another authorization subsystem for evaluation.
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
isAllowed(java.lang.String userName,
Action action) |
AuthorizationResult isAllowed(java.lang.String userName, Action action)
userName
- The username as passed to the server by the EMS client.action
- A descriptor for the action to be performed.Copyright © Cloud Software Group, Inc. All rights reserved