上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要:     1.对于struts.xml中的package:         a.设置,则表明该包中没有action的配置,只定义一个基础公共的组件。  ... 阅读全文
posted @ 2011-01-26 10:58 Jamie 阅读(336) 评论(0) 推荐(0)
摘要: 1.全局的逻辑控制器为一个过滤器,负责过滤所有的请求。该过滤器引用的API类为      org.apache.struts2.disapatcher.FilterDispatcher 2.MVC:页... 阅读全文
posted @ 2011-01-26 10:54 Jamie 阅读(645) 评论(0) 推荐(0)
摘要: Spring Security 3 自定义UserDetails后,控制一个帐号只能登录一次的功能不能起作用,原因出在自定义的UserDetails上: org.springframework.se... 阅读全文
posted @ 2011-01-24 15:08 Jamie 阅读(2604) 评论(0) 推荐(0)
摘要: ExtJS+SSH项目调试,server端直接返回json格式的字符串数据时Firefox会报错:“ 未组织好/not well-formed ”。 解决办法是:在JAVA中需要设定传输的文本格式C... 阅读全文
posted @ 2011-01-20 17:32 Jamie 阅读(1299) 评论(0) 推荐(0)
摘要: 下述为Spring Security的虚路由,它与应用程序无关,默认映射在应用的根路径上: /j_spring_security_check  — checked by UsernamePasswor... 阅读全文
posted @ 2011-01-19 15:38 Jamie 阅读(1230) 评论(0) 推荐(0)
摘要: 1. HttpSessionContextIntegrationFilter 位于过滤器顶端,第一个起作用的过滤器。 用途一,在执行其他过滤器之前,率先判断用户的session中是否已经存在一个S... 阅读全文
posted @ 2011-01-19 14:58 Jamie 阅读(13299) 评论(0) 推荐(0)
摘要: global-method-security secured-annotations="disabled|enabled" jsr250-annotations="disabled|enabled" access-decision-manager-ref="string" protect-pointcut expression="string" access="string"//global-method-security 阅读全文
posted @ 2011-01-14 16:40 Jamie 阅读(2328) 评论(0) 推荐(0)
摘要: authentication-provider user-service-ref="string" user-service id="string" properties="string" user name="string" password="string" authorities="string" locked="boolean" disabled="boolean"/ /user-service jdbc-user-service id="string" data-source-ref="string" cache-ref="string" users 阅读全文
posted @ 2011-01-14 16:39 Jamie 阅读(2061) 评论(0) 推荐(0)
摘要: http auto-config="boolean" create-session="ifRequired|always|never" path-type="ant|regex" lowercase-comparisons="boolean" access-decision-manager-ref="string" realm="Spring Security Application" session-fixation-protection="none|newSession|migrateSession" entry-point-ref="string" once-per-r 阅读全文
posted @ 2011-01-14 16:36 Jamie 阅读(1454) 评论(0) 推荐(0)
摘要: Spring安全系统中,使用投票策略的AccessDecisionManager共有三个具体实现类:AffirmativeBased、ConsensusBased和UnanimousBased。 它... 阅读全文
posted @ 2011-01-14 15:23 Jamie 阅读(1172) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页