WebSphere Application Server 上 Java 2 安全性应用程序策略的局限性
Java™ 2 策略安全性文件(例如,was.policy)中的 ${application} 策略仅适用于 EAR 项目。
如果您正在使用下列任何服务器:
WebSphere
®
Application Server v5.1 测试环境服务器
1
WebSphere Application Server V6.x 并且启用了
使用工作空间中的资源运行服务器
。
该策略将不会影响 EAR 中包含的模块,例如,EJB、Web 或连接器模块。应该使用单独的模块策略(例如,使用 ${ejbComponent}、${webComponent} 和 ${connectorComponent})来设置这些模块的安全策略。
1
WebSphere Application Server Toolkit V6.1.x 中未提供 WebSphere Application Server V5.x 测试环境和服务器,但在诸如 Rational
®
Application Developer V7.0.x 或 Rational Software Architect V7.0.x 之类的产品中提供了这种测试环境和服务器
反馈