AuthenticationListener接口源码解析

AuthenticationListener接口实现了认证的监听,先对其解析如下:

1.认证成功

void onSuccess(AuthenticationToken token, AuthenticationInfo info);

2.认证失败

void onFailure(AuthenticationToken token, AuthenticationException ae);

3.subject退出

void onLogout(PrincipalCollection principals);

猜你喜欢

转载自yansxjl.iteye.com/blog/2333940
今日推荐