Created
March 23, 2013 02:01
-
-
Save joshlong/5226077 to your computer and use it in GitHub Desktop.
loadUserByUsername(String username) implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Override | |
| public CrmUserDetails loadUserByUsername(String username) throws UsernameNotFoundException { | |
| User user = loginByUsername(username); | |
| if (null == user) | |
| return null; | |
| return new CrmUserDetails(user); | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment