Class Configuration

    • Constructor Detail

      • Configuration

        public Configuration()
      • Configuration

        public Configuration​(String authServerUrl,
                             String realm,
                             String clientId,
                             Map<String,​Object> clientCredentials,
                             org.apache.http.client.HttpClient httpClient)
        Creates a new instance.
        Parameters:
        authServerUrl - the server's URL. E.g.: http://{server}:{port}/auth.(not null)
        realm - the realm name (not null)
        clientId - the client id (not null)
        clientCredentials - a map with the client credentials (not null)
        httpClient - the HttpClient instance that should be used when sending requests to the server, or null if a default instance should be created
    • Method Detail

      • getHttpClient

        public org.apache.http.client.HttpClient getHttpClient()