种子字符串用于屏蔽 URI。该字符串由屏蔽算法生成。
如果该种子字符串已更改或是重启了网关,则可能无法为屏蔽后的 URI 加书签。
键入以下命令并按 Enter 键以指定屏蔽种子字符串。
设置屏蔽种子字符串:
PS_INSTALL_DIR /bin/psadmin set-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a ObfuscationSecretKey SECRET_KEY
获取值:
PS_INSTALL_DIR/bin/psadmin get-attribute -u amadmin -f PASSWORD_FILE -m gateway --gateway-profile PROFILE_NAME -a ObfuscationSecretKey
《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”