當 Application Server authPassthroughEnabled 特性設定為 true 時,則會以自訂請求標頭將有關原始用戶端請求的資訊 (例如用戶端 IP 位址、SSL 金鑰大小,以及認證的用戶端憑證鏈) 傳送至 HTTP 偵聽程式。如果您安裝了硬體加速器,authPassThroughEnabled 特性會讓您利用硬體加速器加快 SSL 認證的進行。在負載平衡器上配置硬體加速器,比在每個叢集的 Application Server 實例上進行配置更為容易。
只有在 Application Server 受防火牆保護後,才能將 authPassthroughEnabled 設定為 true。
使用 asadmin set 指令來設定 HTTP 服務或個別 HTTP 偵聽程式上的 authPassthroughEnabled 特性。個別 HTTP 偵聽程式的設定優先於 HTTP 服務的設定。
如果要在所有的 HTTP/HTTPS 偵聽程式上設定 authPassthroughEnabled 特性,請使用下列指令:
asadmin set cluster-name-config.http-service.property.authPassthroughEnabled=true
如果要在個別的偵聽程式上進行設定,請使用下列指令:
asadmin set cluster-name-config.http-service.http-listener. listener-name.property.authPassthroughEnabled=true