944945946947948949950951
AuthenticationManager.login(getAuthInfo(), username, credentials); setAuthService(as); loginComplete(username, as.getAuthenticationToken()); } catch (AuthenticationException ae) { throw new LoginFailureException(ae); } }
586587588589590591592593594595596
// wait for the login to complete try { boolean result = control.waitForLogin(); if (!result) { throw new LoginFailureException("Login cancelled"); } } catch (InterruptedException ie) { throw new LoginFailureException(ie); } }
117118119120121122123124
} catch (ConnectionFailureException afe) { // a client failed to connect -- logout logout(); // throw a login exception throw new LoginFailureException("Failed to attach client" , afe); } }
273274275276277278279280281282
smc.connect(this); smc.addPingListener(PingDataCollector.this); } catch (ConnectionFailureException cfe) { logout(); throw new LoginFailureException("Error connecting server " + "manager connection", cfe); } }
419420421422423424425426
try { conn = new PlacemarkWebConfigConnection(); connect(conn); } catch (ConnectionFailureException ex) { throw new LoginFailureException(ex); } }
7374757677787980