Package org.jboss.as.controller.access
Interface ResourceAuthorization
-
public interface ResourceAuthorization
Encapsulates theAuthorizationResult
s for a given caller's access to a particular resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationResult
getAttributeResult(String attribute, Action.ActionEffect actionEffect)
Get the authorization result for an individual attribute.AuthorizationResult
getOperationResult(String operationName)
Get the authorization result for an individual operation.AuthorizationResult
getResourceResult(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
-
-