Class AccessRights

    • Method Detail

      • autoEnroll

        public final AccessRight autoEnroll()

        Allow or deny an Active Directory group from autoenrolling certificates issued against a template. The Active Directory group must be allowed to enroll to allow autoenrollment

        If the service returns an enum value that is not available in the current SDK version, autoEnroll will return AccessRight.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from autoEnrollAsString().

        Returns:
        Allow or deny an Active Directory group from autoenrolling certificates issued against a template. The Active Directory group must be allowed to enroll to allow autoenrollment
        See Also:
        AccessRight
      • autoEnrollAsString

        public final String autoEnrollAsString()

        Allow or deny an Active Directory group from autoenrolling certificates issued against a template. The Active Directory group must be allowed to enroll to allow autoenrollment

        If the service returns an enum value that is not available in the current SDK version, autoEnroll will return AccessRight.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from autoEnrollAsString().

        Returns:
        Allow or deny an Active Directory group from autoenrolling certificates issued against a template. The Active Directory group must be allowed to enroll to allow autoenrollment
        See Also:
        AccessRight
      • enroll

        public final AccessRight enroll()

        Allow or deny an Active Directory group from enrolling certificates issued against a template.

        If the service returns an enum value that is not available in the current SDK version, enroll will return AccessRight.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from enrollAsString().

        Returns:
        Allow or deny an Active Directory group from enrolling certificates issued against a template.
        See Also:
        AccessRight
      • enrollAsString

        public final String enrollAsString()

        Allow or deny an Active Directory group from enrolling certificates issued against a template.

        If the service returns an enum value that is not available in the current SDK version, enroll will return AccessRight.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from enrollAsString().

        Returns:
        Allow or deny an Active Directory group from enrolling certificates issued against a template.
        See Also:
        AccessRight
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)