【问题标题】:WebSphere Application Server 7 - httpOnly & secure flag for LTPAWebSphere Application Server 7 - LTPA 的 httpOnly 和安全标志
【发布时间】:2013-02-14 19:05:48
【问题描述】:

我在一个公共环境中工作,在 WebSphere Application Server 7 前面有一个 Apache http-Server(运行一个 WebSphere Portal Server 7),现在我正在尝试为 LTPA 打开 httpOnly 和安全标志饼干。

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

有没有人遇到同样的问题并找到了解决办法?

【问题讨论】:

    标签: websphere-7 websphere-portal httponly


    【解决方案1】:

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

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

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

    【讨论】:

    • 知道如何使用 jacl/jython 做到这一点吗?
    猜你喜欢
    • 1970-01-01
    • 2013-10-12
    • 1970-01-01
    • 1970-01-01
    • 2021-02-23
    • 2013-12-12
    • 1970-01-01
    • 2012-10-13
    • 2015-06-14
    相关资源
    最近更新 更多