Skip to main content

Posts

Showing posts from April, 2018

Java login app

LOGIN Since the 60s there have been security authentication protocols, and today we have here a login using 2 Factors. Basic login Factor: credentials(email, user id, password) Advanced login Factor: Verify Humanity(answer a multiple choice question to verify humanity) import static java.lang.System.out; import java.util.Scanner; public class Wizardslogmin { public static void main(String[] args) {     // THE STRING CREATES A SET OF VARIABLES WE WILL USE IN THE PROJECT          String UserID;     String UserPassword;     String uEMAIL;     String HUMAN;      // THIS IS DEFINING THE VALUES OF THE STRINGS          UserPassword = "ALCHEMIST1@1";     UserID = "STAFFHOLDER";     uEMAIL = "WIRED2TECH@AOL.COM";     HUMAN = "YES";     // THE SCANNER FORWARDS THE TEXT ONTO THE SCREEN AND WAITS FOR THE USERS RESPONSE          Scanner input1 = new Scanner(System.in);     System.out.println("please Enter UserID