Logs in to the wiki. This method is thread-safe. If the specified username or password is incorrect, the thread blocks for 20 seconds then throws an exception.
@param username a username
@param password a password (as a char[] due to JPasswordField)
@throws FailedLoginException if the login failed due to incorrectusername and/or password
@throws IOException if a network error occurs
@see #logout
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.