Commits

明点软件  committed aa5b847

Incomplete - issue MGR-56: Session 失效后,重新登录,会重定向到最后访问的那个URL
http://jira.mingidea.com/browse/MGR-56

  • Participants
  • Parent commits 4dd71ed
  • Tags 0.3.2

Comments (0)

Files changed (2)

File SpringSecurityTaobaoGrailsPlugin.groovy

 
 class SpringSecurityTaobaoGrailsPlugin {
     // the plugin version
-    def version = "0.3.1"
+    def version = "0.3.2"
     // the version or versions of Grails the plugin is designed for
     def grailsVersion = "1.3.7 > *"
     // the other plugins this plugin depends on
         taobaoAuthenticationFilter(TaobaoAuthenticationProcessingFilter){
             authenticationManager = ref('authenticationManager')
             sessionAuthenticationStrategy = ref('sessionAuthenticationStrategy')
+            
+            //ref to grails spring security core plugin
+            authenticationSuccessHandler = ref('authenticationSuccessHandler')
+            authenticationFailureHandler = ref('authenticationFailureHandler')
+            rememberMeServices = ref('rememberMeServices')
+            allowSessionCreation = conf.apf.allowSessionCreation
         }
 
         taobaoAuthenticationUserDetailsService(TaobaoAuthenticationUserDetailsService) {
-<plugin name='spring-security-taobao' version='0.3' grailsVersion='1.3.7 &gt; *'>
+<plugin name='spring-security-taobao' version='0.3.2' grailsVersion='1.3.7 &gt; *'>
   <author>Simon Leung</author>
   <authorEmail>simon.leung@mingidea.com</authorEmail>
   <title>Taobao open authentication support for the Spring Security plugin.</title>