提交 d3948fad 编写于 作者: K kohsuke

this is just a short cut and not intended to be overridden. It should always...

this is just a short cut and not intended to be overridden. It should always remain consistent with UserDetailsService.loadUserByUsername

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14873 71c3de6d-444a-0410-be80-ed276b4c234a
上级 3beed588
......@@ -167,7 +167,7 @@ public abstract class SecurityRealm implements Describable<SecurityRealm>, Exten
* @return
* never null.
*/
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException {
public final UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException {
return getSecurityComponents().userDetails.loadUserByUsername(username);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册