红联Linux门户
Linux帮助

OACC v2.0.0-rc.6发布,高级Java应用安全框架

发布时间:2016-01-13 09:24:12来源:红联作者:baihuo
OACC v2.0.0-rc.6 发布,更新如下:

adds serialVersionUIDs to all applicable classes

deprecates preSerialize() methods

validates dataSource or connection are not null

fixes a bug that could cause NullPointerException for equals() and hashCode() of OACC's Resource implementation

modifies getAuthenticatedResource() and getSessionResource() to return lazily-cached defensive copies of the session variables

validates that database schema names are either null or a single sequence of unicode word characters

updates test suite for the aforementioned changes

updates copyright notices

API 变更摘要:

Improves serialization support

adds serialVersionUids to all applicable classes

unserializable fields are now marked transient

consistent usage of Serializable marker interface

*Deprecation* deprecates obsolete preSerialize() methods because unserializable fields are now marked transient

Bug 修复:

fixes #23 - equals() and hashCode() of OACC's Resource implementation no longer can produce NullPointerException when resource was created without a resourceId

OACC (读音 Oak)是 Object Access Control serviCe 的缩写。它是一个高级的 Java™ 应用安全框架. OACC 提供高性能 API ,为Java应用程序提供了基于权限的授权服务。简而言之,OACC 可以让你的应用通过发出问题来保证安全:“实体 ‘A’ 是否被允许在实体 ‘B’ 上进行操作 ‘p’。

下载地址:https://github.com/acciente/oacc-core/tree/v2.0.0-rc.6

来自:开源中国社区
文章评论

共有 0 条评论