高級 Java 應用安全框架,OACC v2.0.0-rc.6 發布

jopen 8年前發布 | 6K 次閱讀


OACC (讀音 Oak)是 Object Access Control serviCe 的縮寫。它是一個高級的 Java? 應用安全框架. OACC 提供高性能 API ,為Java應用程序提供了基于權限的授權服務。簡而言之,OACC 可以讓你的應用通過發出問題來保證安全:“實體 ‘A’ 是否被允許在實體 ‘B’ 上進行操作 ‘p’。

OACC v2.0.0-rc.6 發布,更新如下:

  • adds serialVersionUIDs to all applicable classes

  • deprecatespreSerialize()methods

  • validates dataSource or connection are not null

  • fixes a bug that could cause NullPointerException forequals()andhashCode()of OACC'sResourceimplementation

  • modifiesgetAuthenticatedResource()andgetSessionResource()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 markedtransient

    • consistent usage of Serializable marker interface

  • *Deprecation* deprecates obsoletepreSerialize()methods because unserializable fields are now markedtransient

Bug 修復:

  • fixes #23 -equals()andhashCode()of OACC'sResourceimplementation no longer can produce NullPointerException when resource was created without aresourceId

下載頁面:2.0.0-rc.6

來自: http://www.oschina.net/news/69819/oacc-2-0-0-rc6

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!