Class NucleusAuthorizationPreprocessor

    • Constructor Detail

      • NucleusAuthorizationPreprocessor

        public NucleusAuthorizationPreprocessor()
    • Method Detail

      • describeAuthorization

        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)
        Description copied from interface: AuthorizationPreprocessor
        Optionally adds to the attributes that will be attached to the Subject, the resource, and the action used for an upcoming authorization check.
        Specified by:
        describeAuthorization in interface AuthorizationPreprocessor
        context - map describing the authorization context (such as command parameter names and values)
        subjectAttributes - name/value pairs for attributes to be attached to the subject
        resourceAttributes - name/value pairs for attributes to be attached to the resource
        actionAttributes - name/value pairs for attributes to be attached to the action