Advertisement
NLinker

GenPassword for uses in US

Oct 27th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.52 KB | None | 0 0
  1. package com.vertigo;
  2.  
  3. import com.vertigo.persistence.entity.User;
  4. import com.vertigo.persistence.service.SecurityService;
  5.  
  6. /**
  7.  * @author nlinker (27.10.2015 15:38)
  8.  */
  9. public class GenPassword {
  10.     public static void main(String[] args) {
  11.         SecurityService ss = new SecurityService();
  12.         User user = new User();
  13.         user.setFullName("greg");
  14.         ss.setUserPassword(user, "greg");
  15.         System.out.println("Password + Salt = " + user.getPassword() + ":" + user.getPasswordSalt());
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement