posts - 25,comments - 0,trackbacks - 0
     摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1         <dl>  2  &nbs...  阅读全文
posted @ 2012-03-04 17:33 周磊 阅读(2933) | 评论 (0)编辑 收藏
org.apache.shiro.web.filter.mgt.DefaultFilter
默认的内置拦截器
    anon(AnonymousFilter.class),
    authc(FormAuthenticationFilter.class),
    authcBasic(BasicHttpAuthenticationFilter.class),
    logout(LogoutFilter.class),
    noSessionCreation(NoSessionCreationFilter.class),
    perms(PermissionsAuthorizationFilter.class),
    port(PortFilter.class),
    rest(HttpMethodPermissionFilter.class),
    roles(RolesAuthorizationFilter.class),
    ssl(SslFilter.class),
    user(UserFilter.class);

  anno 允许匿名访问,

Filter that allows access to a path immeidately without performing security checks of any kind.

This filter is useful primarily in exclusionary policies, where you have defined a url pattern to require a certain security level, but maybe only subset of urls in that pattern should allow any access.

For example, if you had a user-only section of a website, you might want to require that access to any url in that section must be from an authenticated user.

Here is how that would look in the IniShiroFilter configuration:

[urls]
/user/** = authc

But if you wanted /user/signup/** to be available to anyone, you have to exclude that path since it is a subset of the first. This is where the AnonymousFilter ('anon') is useful:

[urls]
/user/signup/** = anon
/user/** = authc
>

Since the url pattern definitions follow a 'first match wins' paradigm, the anon filter will match the /user/signup/** paths and the /user/** path chain will not be evaluated.

posted @ 2012-03-03 23:52 周磊 阅读(986) | 评论 (0)编辑 收藏
 

Shiro框架Web环境下过滤器结构分析

posted @ 2012-03-01 11:52 周磊 阅读(149) | 评论 (0)编辑 收藏
1 strtus2无法加载jar中的注解配置的action
2 spring3.1的cache标签报空值错误
posted @ 2012-02-28 23:27 周磊 阅读(154) | 评论 (0)编辑 收藏

介绍 Spring 3.1 M1 中的缓存功能- 中文版 (转)

posted @ 2012-02-27 10:29 周磊 阅读(113) | 评论 (0)编辑 收藏
最简单的一招是删除"c:/windows/java.exe",win7是在system32目录下,这样就可以修复了
如果不行继续删除
javaw.exe和javaws.exe


posted @ 2012-02-26 13:08 周磊 阅读(434) | 评论 (0)编辑 收藏

http://blog.csdn.net/luotangsha/article/details/7016613

http://www.cnblogs.com/freeliver54/archive/2011/12/30/2307129.html

posted @ 2012-02-10 18:11 周磊 阅读(869) | 评论 (0)编辑 收藏
http://jautodoc.sourceforge.net/
posted @ 2012-02-10 15:06 周磊 阅读(193) | 评论 (0)编辑 收藏
org.ralasafe.servlet.UserTypeInstallAction
org.ralasafe.servlet.RalasafeController
posted @ 2012-02-10 11:14 周磊 阅读(129) | 评论 (0)编辑 收藏


http://www.hitb.com.cn/web/guest/bbs/-/message_boards/message/13822
posted @ 2012-02-09 19:52 周磊 阅读(168) | 评论 (0)编辑 收藏
仅列出标题
共3页: 上一页 1 2 3 下一页