Interface Requestor

    • Method Detail

      • getName

        String getName()
        Returns the name of this requestor. Will not be used internally for any authentication. Only used for internal logging.
        Returns:
        the name of this requestor.
      • isCertprofilePermitted

        boolean isCertprofilePermitted​(String caName,
                                       String certprofile)
        Returns whether the requested certificate profile for given CA is allowed.
        Parameters:
        certprofile - the certprofile name.
        caName - the CA name.
        Returns:
        true if allowed, false otherwise.
      • isPermitted

        boolean isPermitted​(Requestor.Permission permission)
        Returns whether the requested permissions is allowed.
        Parameters:
        permission - the permission.
        Returns:
        true if all requested permissions are allowed, false otherwise.