Para ello existe la opción WebLogic Plug-In Enabled. Activando esta opción le estamos diciendo a WebLogic que existe un proxy server que está capturando las llamadas que le van a llegar. Sino incurrimos en errores como el que nos estaba pasando, que estábamos usando SSL y WebLogic nos devolvía la llamada por http en vez de por https que era como la estábamos solicitando (Mixed content: The page X was loaded over HTTPS, but requested an insecure RESOURCE. This content should also be served over HTTPS). En concreto esto es lo que hace WebLogic cuando activamos dicha opción:
The WLS setting “WebLogic plugin Enabled” when set to true informs the WLS of the presence of the proxy. With this setting is enabled, WLS sets the proprietary WL-Proxy-Client-IP header and consequently calls to getRemoteAddr will return the address of the browser client from the WL-Proxy-Client-IP header instead of the address of the web server.
Se puede activar en 3 niveles, en orden restrictivo decreciente: dominio, cluster o manejado. En nuestro caso la activamos para un servidor manejado de WebCenter, por lo que debemos navegar hasta el servidor en concreto, pestaña Configuración, sub-pestaña General y abrir la opción Avanzada. Una vez guardados los cambios, debemos reiniciar el servidor en cuestión.

No hay comentarios:
Publicar un comentario