Class KerberosAttributes

    • Method Detail

      • realm

        public final String realm()

        The name of the Kerberos realm to which all nodes in a cluster belong. For example, EC2.INTERNAL.

        Returns:
        The name of the Kerberos realm to which all nodes in a cluster belong. For example, EC2.INTERNAL.
      • kdcAdminPassword

        public final String kdcAdminPassword()

        The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster.

        Returns:
        The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster.
      • crossRealmTrustPrincipalPassword

        public final String crossRealmTrustPrincipalPassword()

        Required only when establishing a cross-realm trust with a KDC in a different realm. The cross-realm principal password, which must be identical across realms.

        Returns:
        Required only when establishing a cross-realm trust with a KDC in a different realm. The cross-realm principal password, which must be identical across realms.
      • adDomainJoinUser

        public final String adDomainJoinUser()

        Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain.

        Returns:
        Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain.
      • adDomainJoinPassword

        public final String adDomainJoinPassword()

        The Active Directory password for ADDomainJoinUser.

        Returns:
        The Active Directory password for ADDomainJoinUser.
      • 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)