Created
February 23, 2015 17:33
-
-
Save chbatey/1d74914ee345e51a6163 to your computer and use it in GitHub Desktop.
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
public class UserWithSalt extends User { | |
private Long salt; | |
public UserWithSalt(String username, Long salt, String password, Collection<? extends GrantedAuthority> authorities) { | |
super(username, password, authorities); | |
this.salt = salt; | |
} | |
public Long getSalt() { | |
return salt; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment