@Rank(value=-2147483648) @Service public class NucleusAuthorizationPreprocessor extends Object implements AuthorizationPreprocessor
| Constructor and Description |
|---|
NucleusAuthorizationPreprocessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
describeAuthorization(Subject subject,
String resourceName,
String action,
AdminCommand command,
Map<String,Object> context,
Map<String,String> subjectAttributes,
Map<String,String> resourceAttributes,
Map<String,String> actionAttributes)
Optionally adds to the attributes that will be attached to the
Subject, the resource, and the action used for an upcoming authorization
check.
|
public void describeAuthorization(Subject subject, String resourceName, String action, AdminCommand command, Map<String,Object> context, Map<String,String> subjectAttributes, Map<String,String> resourceAttributes, Map<String,String> actionAttributes)
AuthorizationPreprocessordescribeAuthorization in interface AuthorizationPreprocessorcontext - map describing the authorization context (such as command parameter names and values)subjectAttributes - name/value pairs for attributes to be attached to the subjectresourceAttributes - name/value pairs for attributes to be attached to the resourceactionAttributes - name/value pairs for attributes to be attached to the actionCopyright © 2019. All rights reserved.