Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.vertigo;
- import com.vertigo.persistence.entity.User;
- import com.vertigo.persistence.service.SecurityService;
- /**
- * @author nlinker (27.10.2015 15:38)
- */
- public class GenPassword {
- public static void main(String[] args) {
- SecurityService ss = new SecurityService();
- User user = new User();
- user.setFullName("greg");
- ss.setUserPassword(user, "greg");
- System.out.println("Password + Salt = " + user.getPassword() + ":" + user.getPasswordSalt());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement