use of com.teachMeSkills.an15.VorobyovSergey.hwSix.Task3.services.SvUserAuthenticationService in project AN15 by IharDubkou.
the class MainTask3 method svAuthenticationServiceTest.
private static void svAuthenticationServiceTest(SvUser user) {
System.out.println("\nTest AuthenticationService:");
SvUserAuthenticationService service = new SvUserAuthenticationServiceImpl();
boolean u1 = service.isUserAuthenticated(user, "Pupkin", "Parol");
System.out.println("\nВсе хорошо с паролем и логином? - " + u1);
boolean u2 = service.isUserAuthenticated(user, "User", "Qwerty");
System.out.println("Все хорошо с паролем и логином? - " + u2);
}
Aggregations