Class CustomSecurityServiceConfig

java.lang.Object
ai.wanaku.cli.main.support.security.CustomSecurityServiceConfig
All Implemented Interfaces:
SecurityServiceConfig

public class CustomSecurityServiceConfig extends Object implements SecurityServiceConfig
  • Constructor Details

    • CustomSecurityServiceConfig

      public CustomSecurityServiceConfig()
  • Method Details

    • setClientId

      public void setClientId(String clientId)
    • getClientSecret

      public String getClientSecret()
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • setSecret

      public void setSecret(String secret)
    • setTokenEndpoint

      public void setTokenEndpoint(String tokenEndpoint)
    • setUsername

      public void setUsername(String username)
    • setPassword

      public void setPassword(String password)
    • getUsername

      public String getUsername()
      Description copied from interface: SecurityServiceConfig
      The username for accessing the service
      Specified by:
      getUsername in interface SecurityServiceConfig
      Returns:
      the user name
    • getClientId

      public String getClientId()
      Description copied from interface: SecurityServiceConfig
      Returns the client ID used for authentication with the Discovery Service.
      Specified by:
      getClientId in interface SecurityServiceConfig
      Returns:
      The client ID as a String.
    • getSecret

      public String getSecret()
      Description copied from interface: SecurityServiceConfig
      Returns the secret used for authentication with the Discovery Service.
      Specified by:
      getSecret in interface SecurityServiceConfig
      Returns:
      The secret as a String.
    • getTokenEndpoint

      public String getTokenEndpoint()
      Description copied from interface: SecurityServiceConfig
      Returns the URL for the OpenID Connect token endpoint (e.g., http://address/.well-known/openid-configuration).
      Specified by:
      getTokenEndpoint in interface SecurityServiceConfig
      Returns:
      The OpenID Connect token endpoint as a String.
    • getPassword

      public String getPassword()
      Description copied from interface: SecurityServiceConfig
      The password for accessing the service
      Specified by:
      getPassword in interface SecurityServiceConfig
      Returns:
      the password as a string