记住我的服务定义:
<security:remember-me services-alias="rememberMeService" data-source-ref="dataSource" user-service-ref="userService"/>
我的 persistent_login 表(通过休眠)看起来像这样:
@Column(nullable = false, unique = false, length = 128)
private String username;
@Id
@Column(nullable = false, unique = true, length = 128)
private String series;
@Column(nullable = false, unique = false, length = 128)
private String token;
@Column(nullable = false)
private Date last_used;
在一台计算机上注销时,如何停止删除一个用户名的所有持久令牌?