Class KerberosCredential


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220915")
    public final class KerberosCredential
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Kerberos Credential details as OCI Vault Secret for the keytab.
    Note: Objects should always be created or deserialized using the KerberosCredential.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the KerberosCredential.Builder, which maintain a set of all explicitly set fields called KerberosCredential.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getRealmName

        public String getRealmName()
        Kerberos realm name.

        https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.

        Returns:
        the value
      • getKeytabSecretId

        public String getKeytabSecretId()
        The OCID of the secret where the Kerberos keytab file is stored as base64 text.
        Returns:
        the value
      • getKeytabSecretVersion

        public Long getKeytabSecretVersion()
        The secret version of the stored Kerberos keytab file.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel