Class OssIndexConfiguration

  • All Implemented Interfaces:

    
    public final class OssIndexConfiguration
    
                        

    The configuration for the OSS Index provider.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getServerUrl() The base URL of the OSS Index REST API.
      final Secret getUsername() The username to use for authentication.
      final Secret getPassword() The password to use for authentication.
      • Methods inherited from class java.lang.Object

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

      • OssIndexConfiguration

        OssIndexConfiguration(String serverUrl, Secret username, Secret password)
    • Method Detail

      • 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.