Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OCP Problem
public class O_OpenClosedProblem {
private static class AuthenticateLogin{
public boolean login(User user, String provider){
ConnectionDAO connectionDAO = new ConnectionDAO("root", "");
Connection connection = connectionDAO.createConnection();
//autêntica o login com o Oauth Linkedin
//autêntica o login com informações do banco de dados
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.