Record Class DelineaClientSettings

java.lang.Object
java.lang.Record
org.frankframework.credentialprovider.delinea.DelineaClientSettings

public record DelineaClientSettings(String tenant, String apiRootUrl, String apiRootUrlTemplate, String tokenUrlTemplate, String oauthTokenUrl, String oauthUsername, String oauthPassword, String tld, String autoCommentValue) extends Record
Contains the settings for the SecretServer configuration.
  • Constructor Details

    • DelineaClientSettings

      public DelineaClientSettings(String tenant, String apiRootUrl, String apiRootUrlTemplate, String tokenUrlTemplate, String oauthTokenUrl, String oauthUsername, String oauthPassword, String tld, String autoCommentValue)
      Creates an instance of a DelineaClientSettings record class.
      Parameters:
      tenant - the value for the tenant record component
      apiRootUrl - the value for the apiRootUrl record component
      apiRootUrlTemplate - the value for the apiRootUrlTemplate record component
      tokenUrlTemplate - the value for the tokenUrlTemplate record component
      oauthTokenUrl - the value for the oauthTokenUrl record component
      oauthUsername - the value for the oauthUsername record component
      oauthPassword - the value for the oauthPassword record component
      tld - the value for the tld record component
      autoCommentValue - the value for the autoCommentValue record component
  • Method Details

    • apiRootUrlTemplate

      public String apiRootUrlTemplate()
      Returns the value of the apiRootUrlTemplate record component.
      Returns:
      the value of the apiRootUrlTemplate record component
    • tokenUrlTemplate

      public String tokenUrlTemplate()
      Returns the value of the tokenUrlTemplate record component.
      Returns:
      the value of the tokenUrlTemplate record component
    • tld

      public String tld()
      Returns the value of the tld record component.
      Returns:
      the value of the tld record component
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tenant

      public String tenant()
      Returns the value of the tenant record component.
      Returns:
      the value of the tenant record component
    • apiRootUrl

      public String apiRootUrl()
      Returns the value of the apiRootUrl record component.
      Returns:
      the value of the apiRootUrl record component
    • oauthTokenUrl

      public String oauthTokenUrl()
      Returns the value of the oauthTokenUrl record component.
      Returns:
      the value of the oauthTokenUrl record component
    • oauthUsername

      public String oauthUsername()
      Returns the value of the oauthUsername record component.
      Returns:
      the value of the oauthUsername record component
    • oauthPassword

      public String oauthPassword()
      Returns the value of the oauthPassword record component.
      Returns:
      the value of the oauthPassword record component
    • autoCommentValue

      public String autoCommentValue()
      Returns the value of the autoCommentValue record component.
      Returns:
      the value of the autoCommentValue record component