Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SRP Solution Part 3
public class S_SingleResponsabilitySolution {
private static class AuthenticateLogin {
public boolean login(User user) {
ConnectionDAO connectionDAO = new ConnectionDAO("root", "");
Connection connection = connectionDAO.createConnection();
//realiza o login do usuário no sistema
}
}
}
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.