Class OssIndexConfiguration
-
- All Implemented Interfaces:
public final class OssIndexConfigurationThe configuration for the OSS Index provider.
-
-
Constructor Summary
Constructors Constructor Description OssIndexConfiguration(String serverUrl, Secret username, Secret password)
-
Method Summary
Modifier and Type Method Description final StringgetServerUrl()The base URL of the OSS Index REST API. final SecretgetUsername()The username to use for authentication. final SecretgetPassword()The password to use for authentication. -
-
Constructor Detail
-
OssIndexConfiguration
OssIndexConfiguration(String serverUrl, Secret username, Secret password)
-
-
Method Detail
-
getServerUrl
final String getServerUrl()
The base URL of the OSS Index REST API.
-
getUsername
final Secret getUsername()
The username to use for authentication. If not both username and password are provided, authentication is disabled.
-
getPassword
final Secret getPassword()
The password to use for authentication. If not both username and password are provided, authentication is disabled.
-
-
-
-