Interface Requestor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the name of this requestor.
      boolean isCertprofilePermitted​(java.lang.String caName, java.lang.String certprofile)
      Returns whether the requested certificate profile for given CA is allowed.
      boolean isPermitted​(int permissions)
      Returns whether the requested permissions is allowed.
    • Method Detail

      • getName

        java.lang.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​(java.lang.String caName,
                                       java.lang.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​(int permissions)
        Returns whether the requested permissions is allowed.
        Parameters:
        permissions - the permissions. Defined in PermissionConstants, can be combined value of multiple permissions.
        Returns:
        true if all requested permissions are allowed, false otherwise.