AuthenticationFilter.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:payment-api 作者:
private Authentication tryToAuthenticate(Authentication requestAuthentication) {
    Authentication responseAuthentication = authenticationManager.authenticate(requestAuthentication);
    if (responseAuthentication == null || !responseAuthentication.isAuthenticated()) {
        throw new InternalAuthenticationServiceException("Unable to authenticate Domain User for provided credentials");
    }
    logger.debug("User successfully authenticated");
    return responseAuthentication;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号