Package org.jboss.as.controller.access
Interface ResourceAuthorization
public interface ResourceAuthorization
Encapsulates the
AuthorizationResults for a given caller's access to a particular resource.-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeResult(String attribute, Action.ActionEffect actionEffect) Get the authorization result for an individual attribute.getOperationResult(String operationName) Get the authorization result for an individual operation.getResourceResult(Action.ActionEffect actionEffect) Get the authorization result for the entire resource for the given effect.
-
Method Details
-
getResourceResult
Get the authorization result for the entire resource for the given effect.- Parameters:
actionEffect- the action effect- Returns:
- the authorization result
-
getAttributeResult
Get the authorization result for an individual attribute.- Parameters:
attribute- the attributeactionEffect- the action effect- Returns:
- the authorization result
-
getOperationResult
Get the authorization result for an individual operation.- Parameters:
operationName- the operation name- Returns:
- the authorization result
-