1
是否有使用此登录代码注销了类似的逻辑:如何以编程方式在Grails中注销acegi插件?
// login account
def autht = new AuthToken(username, password)
def authtoken = daoAuthenticationProvider.authenticate(autht)
SecurityContextHolder.context.authentication = authtoken
我检查LogoutController,这是退出的唯一逻辑:
redirect(uri: '/j_spring_security_logout')
任何想法?由于