Class DefaultAuthorizationHelper


  • public class DefaultAuthorizationHelper
    extends java.lang.Object
    This helper service performs the default authorization on the given user.

    The following table shows the allowed operations for each administrative role.

    OperationAdministrator RoleReader Role
    GETXX
    PUTX
    POSTX
    DELETEX
    OPTIONSX
    • Constructor Detail

      • DefaultAuthorizationHelper

        public DefaultAuthorizationHelper()
    • Method Detail

      • checkAdministratorRole

        public boolean checkAdministratorRole​(RESTRequest request,
                                              RESTResponse response)
                                       throws java.io.IOException
        Throws:
        java.io.IOException