Apache Shiro 1.3.1 发布,权限控制框架

来源: 投稿
作者: 淡漠悠然
2016-08-31 00:00:00

Apache Shiro 1.3.1 发布了。Shiro 是一个权限控制框架,因其简单而又不失强大的特点引起了不少开发者的注意。

本次发布共处理26个问题,具体如下:

Bug 修复

  • [SHIRO-373] - Complete CAS remember-me support

  • [SHIRO-397] - SingleArgumentMethodEventListenerTest fails

  • [SHIRO-421] - Unable to set long timeouts on HttpServletSession

  • [SHIRO-435] - SecurityManager is not a singleton in ShiroWebModule

  • [SHIRO-473] - DefaultAnnotationResolver.getAnnotation throws NullPointerException

  • [SHIRO-480] - setTarget method in DomainPermission does not set targets

  • [SHIRO-483] - passwordsMatch() returns false with right plain password-encrypted password in JVM with default locale tr_TR

  • [SHIRO-502] - OSGi import of com.google.inject in shiro-guice has incorrect version range

  • [SHIRO-515] - ExecutorServiceSessionValidationScheduler leaks resources due to improper synchronization

  • [SHIRO-547] - Use MessageDigest#isEqual() instead of Arrays#equals() for comparing digests

  • [SHIRO-568] - hash iterations is calculated wrongly in SimpleHash

  • [SHIRO-570] - SimpleCookie should check the path of the cookie

增强

  • [SHIRO-278] - Rename JndiLdapRealm to DefaultLdapRealm

  • [SHIRO-300] - WildcardPermission: change visibility of field 'parts' to protected

  • [SHIRO-361] - HttpServletResponse.encodeURL: only append JSESSIONID when necessary

  • [SHIRO-428] - AuthorizingRealm "no cache" logging should be at DEBUG level, not INFO, OR is should log only once

  • [SHIRO-437] - WildcardPermission: conformed toString

  • [SHIRO-514] - ExecutorServiceSessionValidationScheduler should create threads with a configurable name

  • [SHIRO-564] - WildcardPermission case-insensitive makes parts collections twice

  • [SHIRO-566] - CollectionUtils should use Collections wrappers of arrays if possible

新特性

  • [SHIRO-200] - Add ability to configure basic authentication for specific HTTP methods

  • [SHIRO-395] - Add an Event Bus for event publishing and low-coupling for custom components/plugins.

  • [SHIRO-412] - Hazelcast-based caching and session clustering

  • [SHIRO-436] - Add EnvironmentLoader finalizeEnvironment method

Task

  • [SHIRO-208] - Correct JDK 1.5 / 1.6 incompatibilities

  • [SHIRO-571] - Mark shiro-cas deprecated (replaced with buji-pac4j)

了解更多关于Apache Shiro信息,可查看官方文档

下载地址:http://shiro.apache.org/download.html

展开阅读全文
63 收藏
分享
10 评论
63 收藏
分享
返回顶部
顶部
返回顶部
顶部