Source

Grails Spring Security Taobao / grails-app / controllers / test / TestController.groovy

package test


class TestController {
    def springSecurityService
    def concurrentSessionFilter
    def index = {
        println request.requestURI
//        def user = springSecurityService.currentUser
//        render 'user id: '
        render 'i'
    }
    
    def expire = {
        def userId = 1

    }
    
    def p = {
        println concurrentSessionFilter
    }
}