遮罩允許 Rewriter 重新寫入 URI,如此便看不見頁面的企業內部網路 URL。
鍵入下列指令,並按下 Enter 鍵以管理遮罩。
啟用遮罩:
PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a EnableObfuscation true
停用遮罩:
PS_INSTALL_DIR/bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a EnableObfuscation false
取得值:
PS_INSTALL_DIR/bin/psadmin get-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a EnableObfuscation
「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin set-attribute」 與 「Sun Java System Portal Server 7.2 Command-Line Reference」中的「psadmin get-attribute」