Class SQLServerKerberosAD

java.lang.Object
com.strongdm.api.SQLServerKerberosAD
All Implemented Interfaces:
Resource

public class SQLServerKerberosAD extends Object implements Resource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether to allow deprecated encryption protocols to be used for this resource.
    The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).
    The database for healthchecks, and used for clients if Override Default Database is true.
    A filter applied to the routing logic to pin datasource to nodes.
    boolean
    True if the datasource is reachable and the credentials are valid.
    The host to dial to initiate a connection from the egress node to this resource.
    Unique identifier of the Resource.
    The keytab file in base64 format containing an entry with the principal name (username@realm) and key version number with which to authenticate.
    The Kerberos 5 configuration file (krb5.conf) specifying the Active Directory server (KDC) for the configured realm.
    Unique human-readable name of the Resource.
    boolean
    If set, the database configured cannot be changed by users.
    int
    The port to dial to initiate a connection from the egress node to this resource.
    int
    The local port used by clients to connect to this resource.
    The Active Directory domain (realm) to which the configured username belongs.
    The Schema to use to direct initial requests.
    ID of the secret store containing credentials for this resource, if any.
    The Service Principal Name of the Microsoft SQL Server instance in Active Directory.
    Subdomain is the local DNS address.
    Tags is a map of key, value pairs.
    The username to authenticate with.
    void
    Whether to allow deprecated encryption protocols to be used for this resource.
    void
    The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).
    void
    The database for healthchecks, and used for clients if Override Default Database is true.
    void
    A filter applied to the routing logic to pin datasource to nodes.
    void
    setHealthy(boolean in)
    True if the datasource is reachable and the credentials are valid.
    void
    The host to dial to initiate a connection from the egress node to this resource.
    void
    Unique identifier of the Resource.
    void
    The keytab file in base64 format containing an entry with the principal name (username@realm) and key version number with which to authenticate.
    void
    The Kerberos 5 configuration file (krb5.conf) specifying the Active Directory server (KDC) for the configured realm.
    void
    Unique human-readable name of the Resource.
    void
    setOverrideDatabase(boolean in)
    If set, the database configured cannot be changed by users.
    void
    setPort(int in)
    The port to dial to initiate a connection from the egress node to this resource.
    void
    The local port used by clients to connect to this resource.
    void
    The Active Directory domain (realm) to which the configured username belongs.
    void
    The Schema to use to direct initial requests.
    void
    ID of the secret store containing credentials for this resource, if any.
    void
    The Service Principal Name of the Microsoft SQL Server instance in Active Directory.
    void
    Subdomain is the local DNS address.
    void
    Tags is a map of key, value pairs.
    void
    The username to authenticate with.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SQLServerKerberosAD

      public SQLServerKerberosAD()
  • Method Details

    • getAllowDeprecatedEncryption

      public boolean getAllowDeprecatedEncryption()
      Whether to allow deprecated encryption protocols to be used for this resource. For example, TLS 1.0.
    • setAllowDeprecatedEncryption

      public void setAllowDeprecatedEncryption(boolean in)
      Whether to allow deprecated encryption protocols to be used for this resource. For example, TLS 1.0.
    • getBindInterface

      public String getBindInterface()
      The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
      Specified by:
      getBindInterface in interface Resource
    • setBindInterface

      public void setBindInterface(String in)
      The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
      Specified by:
      setBindInterface in interface Resource
    • getDatabase

      public String getDatabase()
      The database for healthchecks, and used for clients if Override Default Database is true.
    • setDatabase

      public void setDatabase(String in)
      The database for healthchecks, and used for clients if Override Default Database is true.
    • getEgressFilter

      public String getEgressFilter()
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      getEgressFilter in interface Resource
    • setEgressFilter

      public void setEgressFilter(String in)
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      setEgressFilter in interface Resource
    • getHealthy

      public boolean getHealthy()
      True if the datasource is reachable and the credentials are valid.
    • setHealthy

      public void setHealthy(boolean in)
      True if the datasource is reachable and the credentials are valid.
    • getHostname

      public String getHostname()
      The host to dial to initiate a connection from the egress node to this resource.
    • setHostname

      public void setHostname(String in)
      The host to dial to initiate a connection from the egress node to this resource.
    • getId

      public String getId()
      Unique identifier of the Resource.
      Specified by:
      getId in interface Resource
    • setId

      public void setId(String in)
      Unique identifier of the Resource.
    • getKeytab

      public String getKeytab()
      The keytab file in base64 format containing an entry with the principal name (username@realm) and key version number with which to authenticate.
    • setKeytab

      public void setKeytab(String in)
      The keytab file in base64 format containing an entry with the principal name (username@realm) and key version number with which to authenticate.
    • getKrbConfig

      public String getKrbConfig()
      The Kerberos 5 configuration file (krb5.conf) specifying the Active Directory server (KDC) for the configured realm.
    • setKrbConfig

      public void setKrbConfig(String in)
      The Kerberos 5 configuration file (krb5.conf) specifying the Active Directory server (KDC) for the configured realm.
    • getName

      public String getName()
      Unique human-readable name of the Resource.
      Specified by:
      getName in interface Resource
    • setName

      public void setName(String in)
      Unique human-readable name of the Resource.
      Specified by:
      setName in interface Resource
    • getOverrideDatabase

      public boolean getOverrideDatabase()
      If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
    • setOverrideDatabase

      public void setOverrideDatabase(boolean in)
      If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
    • getPort

      public int getPort()
      The port to dial to initiate a connection from the egress node to this resource.
    • setPort

      public void setPort(int in)
      The port to dial to initiate a connection from the egress node to this resource.
    • getPortOverride

      public int getPortOverride()
      The local port used by clients to connect to this resource.
    • setPortOverride

      public void setPortOverride(int in)
      The local port used by clients to connect to this resource.
    • getRealm

      public String getRealm()
      The Active Directory domain (realm) to which the configured username belongs.
    • setRealm

      public void setRealm(String in)
      The Active Directory domain (realm) to which the configured username belongs.
    • getSchema

      public String getSchema()
      The Schema to use to direct initial requests.
    • setSchema

      public void setSchema(String in)
      The Schema to use to direct initial requests.
    • getSecretStoreId

      public String getSecretStoreId()
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      getSecretStoreId in interface Resource
    • setSecretStoreId

      public void setSecretStoreId(String in)
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      setSecretStoreId in interface Resource
    • getServerSpn

      public String getServerSpn()
      The Service Principal Name of the Microsoft SQL Server instance in Active Directory.
    • setServerSpn

      public void setServerSpn(String in)
      The Service Principal Name of the Microsoft SQL Server instance in Active Directory.
    • getSubdomain

      public String getSubdomain()
      Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
    • setSubdomain

      public void setSubdomain(String in)
      Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface Resource
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface Resource
    • getUsername

      public String getUsername()
      The username to authenticate with.
    • setUsername

      public void setUsername(String in)
      The username to authenticate with.