daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Sep 22nd, 2016 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private static boolean authenticate(DB dB, BufferedReader bufferedReader) throws IOException{
  2.             boolean flag = true;
  3.             System.out.println("User: ");
  4.             String user = bufferedReader.readLine();
  5.             System.out.println("Password: ");
  6.             String password = bufferedReader.readLine();
  7.             if (dB.authenticate(user, password.toCharArray())) {
  8.                 DBCollection channelDBDbCollection = dB.getCollection("channel");
  9.                 String command = null;
  10.   }else {
  11.                 System.out.println("Usuario ou senha incorreto");
  12.                 flag = false;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top