明点软件 avatar 明点软件 committed 154960f

改进

Comments (0)

Files changed (6)

SpringSecurityTaobaoGrailsPlugin.groovy

 
 class SpringSecurityTaobaoGrailsPlugin {
     // the plugin version
-    def version = "0.8"
+    def version = "0.8.1"
     // the version or versions of Grails the plugin is designed for
     def grailsVersion = "1.3.7 > *"
     // the other plugins this plugin depends on

application.properties

 #Grails Metadata file
-#Tue May 17 14:52:50 CST 2011
+#Sun Jan 15 14:41:39 CST 2012
 app.grails.version=2.0.0
 app.name=spring-security-taobao
 plugins.hibernate=2.0.0
+plugins.spring-security-core=1.2.7
 plugins.tomcat=2.0.0
-plugins.spring-security-core=1.2.7

grails-app/controllers/test/TestController.groovy

 package test
 
-import grails.converters.JSON
-
-import com.mingidea.security.taobao.util.ExSpringSecurityUtils
 
 class TestController {
     def springSecurityService 
     
     def expire = {
         def userId = 1
-        render ExSpringSecurityUtils.expireSession(userId)
+
     }
     
     def p = {
Add a comment to this file

lib/spring-security-taobao-0.2.jar

Binary file modified.

-<plugin name='spring-security-taobao' version='0.3.9' grailsVersion='1.3.7 &gt; *'>
+<plugin name='spring-security-taobao' version='0.8.1' grailsVersion='1.3.7 &gt; *'>
   <author>Simon Leung</author>
-  <authorEmail>simon.leung@mingidea.com</authorEmail>
+  <authorEmail>simon.r.leung@gmail.com</authorEmail>
   <title>Taobao open authentication support for the Spring Security plugin.</title>
   <description>Taobao open authentication support for the Spring Security plugin.</description>
   <documentation>http://grails.org/plugin/spring-security-taobao</documentation>
   <resources>
     <resource>BootStrap</resource>
     <resource>DefaultTaobaoSecurityConfig</resource>
+    <resource>spring.resources</resource>
     <resource>test.AdminController</resource>
     <resource>test.LoginController</resource>
     <resource>test.LogoutController</resource>
   </repositories>
   <dependencies>
     <runtime>
-      <dependency group='' name='spring-security-taobao' version='0.1' />
       <dependency group='commons-codec' name='commons-codec' version='1.5' />
+      <dependency group='' name='spring-security-taobao' version='0.2' />
     </runtime>
   </dependencies>
   <plugins />

src/groovy/test/TestTaobaoAuthenticationDao.groovy

 
 class TestTaobaoAuthenticationDao implements TaobaoAuthenticationDao {
 
-	public TaobaoUser find(String nick) {
+	public TaobaoUser find(String nick, String appKey) {
 		return null;
 	}
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.