websphere-7 - WebSphere Application Server 7 - LTPA 的 httpOnly 和安全标志

标签 websphere-7 websphere-portal httponly

我正在一个公共(public)环境中工作,该环境在 WebSphere Application Server 7 前面有一个 Apache http-Server(运行 WebSphere Portal Server 7),现在我尝试打开 LTPA 的 httpOnly 和 secure 标志 cookies 。

根据Secure and HttpOnly flags for session cookie Websphere 7support node at IBM我添加了自定义属性 com.ibm.ws.security.addHttpOnlyAttributeToCookies -> true 在 WAS7 配置中并重新启动服务器。结果是设置了 httpOnly 标志,而没有设置 secure 标志。

有人遇到同样的问题并找到解决方案吗?

最佳答案

好吧,我终于找到了一个(不是)解决方案。我为 SSO 设置了需要 SSL 标志。 IBM 刚刚提到这是作为安全标志的独立解决方案。如何到达:

安全 -> 全局安全 -> Web 和 SIP 安全 -> 单点登录 (SSO) -> 选中“需要 SSL”

这已在带有修订包 7.0.0.27 的 IBM WebSphere Application Server 7 上完成。也许 IBM 的解决方案依赖于旧版本,同时他们改变了行为。

关于websphere-7 - WebSphere Application Server 7 - LTPA 的 httpOnly 和安全标志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15138106/

相关文章:

java - 使用 Java 6 启动 Websphere 7 服务器时出现 wsjar 文件错误

java - JNDI - WAS 7 中的 JDBC 资源查找失败

java - 使用 websphere Portal 与 spring mvc(确定 portlet 解决方案是否有保证的指南)

php - php.ini 中的 session.cookie_secure 是自动的吗?

java - Tomcat 5.5.36 上的 HttpOnly cookie

Websphere 7 SIB 队列 : how to access queue depth wsadmin command?

websphere - WAS7 上无 Jersey 的 JAX-RS

java IBM portlet 项目 - 在哪里放置我的 css 和 jquery

ssl - 带有 https 的 IBM WebSphere Portal 6.1 上的 SPNEGO

cookies - Dartium 不在 websocket 握手时发送 httpOnly cookie