Class CustomSecurityServiceConfig
java.lang.Object
ai.wanaku.cli.main.support.security.CustomSecurityServiceConfig
- All Implemented Interfaces:
SecurityServiceConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the client ID used for authentication with the Discovery Service.The password for accessing the serviceReturns the secret used for authentication with the Discovery Service.Returns the URL for the OpenID Connect token endpoint (e.g., http://address/.well-known/openid-configuration).The username for accessing the servicevoidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetPassword(String password) voidvoidsetTokenEndpoint(String tokenEndpoint) voidsetUsername(String username)
-
Constructor Details
-
CustomSecurityServiceConfig
public CustomSecurityServiceConfig()
-
-
Method Details
-
setClientId
-
getClientSecret
-
setClientSecret
-
setSecret
-
setTokenEndpoint
-
setUsername
-
setPassword
-
getUsername
Description copied from interface:SecurityServiceConfigThe username for accessing the service- Specified by:
getUsernamein interfaceSecurityServiceConfig- Returns:
- the user name
-
getClientId
Description copied from interface:SecurityServiceConfigReturns the client ID used for authentication with the Discovery Service.- Specified by:
getClientIdin interfaceSecurityServiceConfig- Returns:
- The client ID as a
String.
-
getSecret
Description copied from interface:SecurityServiceConfigReturns the secret used for authentication with the Discovery Service.- Specified by:
getSecretin interfaceSecurityServiceConfig- Returns:
- The secret as a
String.
-
getTokenEndpoint
Description copied from interface:SecurityServiceConfigReturns the URL for the OpenID Connect token endpoint (e.g., http://address/.well-known/openid-configuration).- Specified by:
getTokenEndpointin interfaceSecurityServiceConfig- Returns:
- The OpenID Connect token endpoint as a
String.
-
getPassword
Description copied from interface:SecurityServiceConfigThe password for accessing the service- Specified by:
getPasswordin interfaceSecurityServiceConfig- Returns:
- the password as a string
-