【发布时间】:2010-05-06 23:35:31
【问题描述】:
使用此登录代码是否有类似的注销逻辑:
// login account
def autht = new AuthToken(username, password)
def authtoken = daoAuthenticationProvider.authenticate(autht)
SecurityContextHolder.context.authentication = authtoken
我检查了 LogoutController,这是注销的唯一逻辑:
redirect(uri: '/j_spring_security_logout')
有什么想法吗?谢谢
【问题讨论】: