code: @Override
      public void init(org.apache.commons.configuration.Configuration phoneNumberProvisioningConfiguration,
              org.apache.commons.configuration.Configuration telestaxProxyConfiguration, ContainerConfiguration
              containerConfiguration) {
          this.containerConfiguration = containerConfiguration;
          telestaxProxyEnabled = telestaxProxyConfiguration.getBoolean("enabled", false);
          if (telestaxProxyEnabled) {
              uri = telestaxProxyConfiguration.getString("uri");
              username = telestaxProxyConfiguration.getString("login");
              password = telestaxProxyConfiguration.getString("password");
              accountId = telestaxProxyConfiguration.getString("endpoint");
              siteId = telestaxProxyConfiguration.getString("siteId");
              activeConfiguration = telestaxProxyConfiguration;
          } else {
              Configuration bandwidthConfiguration = phoneNumberProvisioningConfiguration.subset("bandwidth");
              uri = bandwidthConfiguration.getString("uri");
              username = bandwidthConfiguration.getString("username");
              password = bandwidthConfiguration.getString("password");
              accountId = bandwidthConfiguration.getString("accountId");
              siteId = bandwidthConfiguration.getString("siteId");
              activeConfiguration = bandwidthConfiguration;
          }
          httpClient = new DefaultHttpClient();
          Credentials credentials = new UsernamePasswordCredentials(username, password);
          httpClient.getCredentialsProvider().setCredentials(AuthScope.ANY, credentials);
      }
docs: /*
  (non-Javadoc)
  
  @see
  PhoneNumberProvisioningManager#init(org.apache.commons.configuration
  .Configuration, boolean)