38394041424344
*/ public void login(String userName) throws AuthenticationException { if (userName.equals("badguy")) { throw new AuthenticationException(); } authentication = new Authentication(userName); }