NutzCN Logo
问答 assertCredentialsMatch 为何要直接pass?
发布于 2046天前 作者 qq_30fdbc0f 2369 次浏览 复制 上一个帖子 下一个帖子
标签:
/**
     * 覆盖父类的验证,直接pass
     */
    protected void assertCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) throws AuthenticationException {
    }

为什么这个方法要直接pass呢?好处是什么?pass后怎么做用户密码比对?

1 回复

在入口方法自行做校验

添加回复
请先登陆
回到顶部