Package org.jdesktop.wonderland.client.comms

Examples of org.jdesktop.wonderland.client.comms.LoginFailureException


                        AuthenticationManager.login(getAuthInfo(), username,
                                                    credentials);
                setAuthService(as);
                loginComplete(username, as.getAuthenticationToken());
            } catch (AuthenticationException ae) {
                throw new LoginFailureException(ae);
            }
        }
View Full Code Here


        // 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);
        }
    }
View Full Code Here

            } catch (ConnectionFailureException afe) {
                // a client failed to connect -- logout
                logout();

                // throw a login exception
                throw new LoginFailureException("Failed to attach client" , afe);
            }
        }
View Full Code Here

                smc.connect(this);
                smc.addPingListener(PingDataCollector.this);
            } catch (ConnectionFailureException cfe) {
                logout();
               
                throw new LoginFailureException("Error connecting server " +
                                                "manager connection", cfe);
            }
           
        }
View Full Code Here

            try {
                conn = new PlacemarkWebConfigConnection();
                connect(conn);
            } catch (ConnectionFailureException ex) {
                throw new LoginFailureException(ex);
            }
        }
View Full Code Here

        } catch (ConnectionFailureException afe) {
            // a client failed to connect -- logout
            logout();
           
            // throw a login exception
            throw new LoginFailureException("Failed to attach client" , afe);
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.comms.LoginFailureException

Copyright © 2018 www.massapicom. All rights reserved.
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.