Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OCP Solution Part 2
public class O_OpenClosedSolution {
@AllArgsConstructor
private static class AuthenticateLogin {
private Authentication authentication;
public boolean login(User user){
return authentication.login(user);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.