MyLoginContext gives a succesfull authentication when the username is the same as the password By default all succesfull logged on users receive the 'user' principal. When you login with admin/admin, you'll get the admin principal too.
@author Olger Warnier
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.