import java.net.*;
import java.io.*;
class Identification extends Authenticator {
protected PasswordAuthentication getPasswordAuthentication() {
PasswordAuthentication ident=null;
System.out.print("username :");System.out.flush();
try {
BufferedReader r= new BufferedReader(new InputStreamReader(System.in));
String u=r.readLine();
System.out.print("password :");
String p=r.readLine();
ident =new PasswordAuthentication(u,p.toCharArray());
} catch (IOException e) {System.out.println(e.getMessage());}
return ident;
}
}