Class MavenDockerCredentialProvider

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.legacy.docker.IDockerCredentialProvider

    public class MavenDockerCredentialProvider
    extends Object
    implements com.microsoft.azure.toolkit.lib.legacy.docker.IDockerCredentialProvider
    • Field Detail

      • server

        private org.apache.maven.settings.Server server
      • settings

        private org.apache.maven.settings.Settings settings
      • serverId

        private String serverId
    • Constructor Detail

      • MavenDockerCredentialProvider

        public MavenDockerCredentialProvider​(org.apache.maven.settings.Settings settings,
                                             String serverId)
    • Method Detail

      • getUsername

        public String getUsername()
                           throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
        Specified by:
        getUsername in interface com.microsoft.azure.toolkit.lib.legacy.docker.IDockerCredentialProvider
        Throws:
        com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
      • getPassword

        public String getPassword()
                           throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
        Specified by:
        getPassword in interface com.microsoft.azure.toolkit.lib.legacy.docker.IDockerCredentialProvider
        Throws:
        com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
      • validate

        public void validate()
                      throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
        Specified by:
        validate in interface com.microsoft.azure.toolkit.lib.legacy.docker.IDockerCredentialProvider
        Throws:
        com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
      • initializeServer

        private void initializeServer()
                               throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
        Throws:
        com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException