首页 相关文章 JAAS 实现in Struts Web App使用XMLPolicy文件不改变VM安全

JAAS 实现in Struts Web App使用XMLPolicy文件不改变VM安全

JAAS参考资料中流行的文章是扩展JAAS实现类实例级授权
  
  但它是基于JDK1.3,与目前的JDK1.4,JDK1.5不兼容,例如其中的配置如下:
  
  The following assumes you are using JDK 1.3 and the files were extracted to
  the d:JaasExample Directory. You will save some work by extracting the files
  to this directory otherwise you will have to modify the policy and the ResourceSecurity.XML
  policy files with the correct path names.
  
  1) Copy the jaas.jar and the jaasmod.jar to your JDK jrelibext directory
  (i.e. D:JDK1.3jrelibext).
  
  2) Add the following to th...[ 查看全文 ]

2016-02-19 标签:

JAAS 实现in Struts Web App使用XMLPolicy文件不改变VM安全的相关文章

手机页面
收藏网站 回到头部