660661662663664665666667668669670
arq = context.authSystem.new HashAuthenticationRequest(username, password); } /* * Authenticate the user. */ boolean authenticated = arq.authenticate(); if (!authenticated) { Exception faex = arq.getAuthenticationFailureException(); boolean isItIo = false;