Accessing a password-protected proxy server

Configure access to an external web service or WSDL file through a password-protected proxy server.

About this task

Service integration technologies requires access to the Internet for invoking outbound services and for retrieval of external WSDL files. Many enterprise installations use a proxy server in support of Internet routing, and many proxy servers require authentication before they grant access to the Internet. This requirement is supported in HTTP messaging by a Proxy-Authorization message header that contains encoded user ID and password credentials.

To enable service integration technologies to invoke an outbound service you configure, for each outbound port, a proxy host, port and J2C authentication alias.

When you create or modify inbound or outbound services, the service integration bus might also have to pass messages through an authenticating proxy server to retrieve WSDL documents. Consequently you must configure the proxy host and port that are used.
Note: Neither the administrative console panels used to create a new web service configuration, nor the Reload WSDL option provided in the panels used to modify an existing web service configuration, allow you to enter an authentication alias for WSDL retrieval. If the bus needs to pass messages through an authenticating proxy server to retrieve WSDL documents, then you must use command-line tools to retrieve the WSDL.

Procedure

  1. Start the WebSphere® Application Server administrative server.
  2. Start the administrative console.
  3. To enable invocation of an outbound service through a password-protected proxy server, complete the following steps:
    1. In the administrative console navigation pane, click Integração de serviços -> Barramentos -> security_value -> [Itens Relacionados] JAAS - Dados de autenticação J2C.
    2. Create a J2C authentication alias, providing an alias name, and the user ID and password required by the authenticating proxy server.
    3. Click OK.
    4. In the administrative console navigation pane, click Integração de serviços -> Barramentos -> bus_name-> [Serviços] Serviços de Saída -> service_name -> Portas de Saída -> port_name.
    5. Type into the appropriate fields the authenticating proxy host name, port, and the authentication alias you created.
    6. Click OK.
  4. To enable the service integration bus to pass messages through an authenticating proxy server to retrieve WSDL documents, complete the following steps:
    1. In the administrative console navigation pane, select Servidores -> Tipos de Servidor -> Servidores de aplicativos do WebSphere -> server_name -> [Infraestrutura do Servidor] Java e Gerenciamento de Processo -> Definição de Processo > [Propriedades Adicionais] Java Virtual Machine -> [Propriedades Adicionais] Propriedades Customizadas.
    2. Set the following properties:
      • http.proxySet - Set this to true to tell the application server that it is required to work with an authenticating proxy.
      • http.proxyHost - Set this to the machine name of the authenticating proxy.
      • http.proxyPort - Set this to the port through which the authenticating proxy is accessed. For example 8080.
      • http.nonProxyHosts - List the internal machines for which authentication is not required for routing through the proxy. Separate each machine name in the list with a vertical bar ("|").
      • This list must include the machine on which the bus is installed.
    Note: If the bus needs to pass messages through an authenticating proxy server to retrieve WSDL documents, then you must use command-line tools to retrieve the WSDL.
  5. Salve suas alterações na configuração principal.
  6. Stop then restart the application server.
  7. Close the administrative console.

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: July 9, 2016 7:55
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjw_security_proxy
Nome do arquivo: tjw_security_proxy.html