Class MavenModelControllerClientConfiguration

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.jboss.as.controller.client.ModelControllerClientConfiguration

    public class MavenModelControllerClientConfiguration
    extends Object
    implements org.jboss.as.controller.client.ModelControllerClientConfiguration
    A configuration used to connect a ModelControllerClient or used to connect a CLI CommandContext
    Author:
    James R. Perkins
    • Method Detail

      • getHost

        public String getHost()
        Specified by:
        getHost in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getPort

        public int getPort()
        Specified by:
        getPort in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getProtocol

        public String getProtocol()
        Specified by:
        getProtocol in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getConnectionTimeout

        public int getConnectionTimeout()
        Specified by:
        getConnectionTimeout in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getCallbackHandler

        public CallbackHandler getCallbackHandler()
        Specified by:
        getCallbackHandler in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getSaslOptions

        public Map<String,​String> getSaslOptions()
        Specified by:
        getSaslOptions in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getSSLContext

        public SSLContext getSSLContext()
        Specified by:
        getSSLContext in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getSslContextFactory

        public org.wildfly.security.SecurityFactory<SSLContext> getSslContextFactory()
        Specified by:
        getSslContextFactory in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getExecutor

        public ExecutorService getExecutor()
        Specified by:
        getExecutor in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getClientBindAddress

        public String getClientBindAddress()
        Specified by:
        getClientBindAddress in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getAuthenticationConfigUri

        public URI getAuthenticationConfigUri()
        Specified by:
        getAuthenticationConfigUri in interface org.jboss.as.controller.client.ModelControllerClientConfiguration
      • getUsername

        public String getUsername()
        The username provided or null if one was not provided.
        Returns:
        the username or null
      • getPassword

        public char[] getPassword()
        The password providedor null if one was not provided.
        Returns:
        the password or null
      • getController

        public String getController()
        Formats a connection string for CLI to use as it's controller connection.
        Returns:
        the controller string to connect CLI