Package org.glyptodon.guacamole.protocol

Examples of org.glyptodon.guacamole.protocol.GuacamoleStatus


        if (context != null)
            chain.doFilter(req, resp);

        // Otherwise, deny entire request
        else {
            final GuacamoleStatus status = GuacamoleStatus.CLIENT_UNAUTHORIZED;
            final String message = "Not authenticated";

            logger.info("HTTP request rejected: {}", message);
            response.addHeader("Guacamole-Status-Code", Integer.toString(status.getGuacamoleStatusCode()));
            response.addHeader("Guacamole-Error-Message", message);
            response.sendError(status.getHttpStatusCode());
        }

    }
View Full Code Here

TOP

Related Classes of org.glyptodon.guacamole.protocol.GuacamoleStatus

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.