Class AuthorizationActionResource


  • public class AuthorizationActionResource
    extends Object
    Resource deals with the Authorization Action in the BA Platform. This service validates if a current user is authorized to perform a specific action.
    • Constructor Detail

      • AuthorizationActionResource

        public AuthorizationActionResource​(List<org.pentaho.platform.api.engine.IAuthorizationAction> authActionList)
      • AuthorizationActionResource

        public AuthorizationActionResource()
    • Method Detail

      • validateAuth

        public javax.ws.rs.core.Response validateAuth​(String authAction)
        Validates if a current user is authorized to perform a specific action.

        Example Request:
        GET pentaho/api/authorization/action/isauthorized

        Parameters:
        authAction - Authorization Action to be validated for the current user.
        Returns:
        A boolean response based on the current user being authorized to perform a specific action within the system.

        Example Response:

             false