Package org.jboss.as.controller.access
Interface ResourceAuthorization
-
public interface ResourceAuthorizationEncapsulates theAuthorizationResults for a given caller's access to a particular resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationResultgetAttributeResult(String attribute, Action.ActionEffect actionEffect)Get the authorization result for an individual attribute.AuthorizationResultgetOperationResult(String operationName)Get the authorization result for an individual operation.AuthorizationResultgetResourceResult(Action.ActionEffect actionEffect)Get the authorization result for the entire resource for the given effect.
-
-
-
Method Detail
-
getResourceResult
AuthorizationResult getResourceResult(Action.ActionEffect actionEffect)
Get the authorization result for the entire resource for the given effect.- Parameters:
actionEffect- the action effect- Returns:
- the authorization result
-
getAttributeResult
AuthorizationResult getAttributeResult(String attribute, Action.ActionEffect actionEffect)
Get the authorization result for an individual attribute.- Parameters:
attribute- the attributeactionEffect- the action effect- Returns:
- the authorization result
-
getOperationResult
AuthorizationResult getOperationResult(String operationName)
Get the authorization result for an individual operation.- Parameters:
operationName- the operation name- Returns:
- the authorization result
-
-