Package org.jdesktop.wonderland.client.login

Examples of org.jdesktop.wonderland.client.login.ServerDetails


    /**
     * Returns the details for this server
     */
    @GET
    public Response getServerDetails() {
        ServerDetails out;
       
        // if this is a request to the internal address, return the internal
        // host details
        String requestHost = uriInfo.getRequestUri().getHost();
        String externalHost = System.getProperty(Constants.WEBSERVER_HOST_PROP);
View Full Code Here


        // if the username is not null, set up authentication
        if (username != null && username.length() > 0 &&
                password != null && password.length() > 0)
        {
            ServerSessionManager ssm = LoginManager.getSessionManager(serverUrl.toString());
            ServerDetails details = ssm.getDetails();

            AuthenticationInfo info = details.getAuthInfo().clone();

            // if the type is EITHER, we choose to login with authentication,
            // since guest logins won't be allowed without authentication
            if (info.getType() == AuthenticationInfo.Type.EITHER) {
                info.setType(AuthenticationInfo.Type.WEB_SERVICE);
View Full Code Here

        // if the username is not null, set up authentication
        if (username != null && username.length() > 0 &&
                password != null && password.length() > 0)
        {
            ServerSessionManager ssm = LoginManager.getSessionManager(serverUrl.toString());
            ServerDetails details = ssm.getDetails();

            AuthenticationInfo info = details.getAuthInfo().clone();

            // if the type is EITHER, we choose to login with authentication,
            // since guest logins won't be allowed without authentication
            if (info.getType() == AuthenticationInfo.Type.EITHER) {
                info.setType(AuthenticationInfo.Type.WEB_SERVICE);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.login.ServerDetails

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.