mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-224: Merge removal of @author tags.
This commit is contained in:
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which is thrown when data has been submitted with an unsupported
|
||||
* mimetype.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientBadTypeException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* A generic exception thrown when part of the Guacamole API encounters
|
||||
* an error in the client's request. Such an error, if correctable, usually
|
||||
* requires correction on the client side, not the server.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientException extends GuacamoleException {
|
||||
|
||||
|
@@ -27,8 +27,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* usually indicates that a server-side buffer is not large enough to
|
||||
* accommodate the data, or protocol specifications prohibit data of the size
|
||||
* received.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientOverrunException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -24,8 +24,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
|
||||
/**
|
||||
* An exception which is thrown when the client is taking too long to respond.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientTimeoutException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* An exception which is thrown when too many requests have been received
|
||||
* by the current client, and further requests are being rejected, either
|
||||
* temporarily or permanently.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientTooManyException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which is thrown when an operation cannot be performed because
|
||||
* its corresponding connection is closed.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleConnectionClosedException extends GuacamoleServerException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* A generic exception thrown when parts of the Guacamole API encounter
|
||||
* errors.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleException extends Exception {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* An exception which is thrown when a resource has been requested, but that
|
||||
* resource is locked or currently in use, and cannot be accessed by the
|
||||
* current user.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleResourceConflictException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* A generic exception thrown when part of the Guacamole API fails to find
|
||||
* a requested resource, such as a configuration or tunnel.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleResourceNotFoundException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* A security-related exception thrown when parts of the Guacamole API is
|
||||
* denying access to a resource.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleSecurityException extends GuacamoleClientException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which is thrown when the server is too busy to service the
|
||||
* request.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleServerBusyException extends GuacamoleServerException {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* A generic exception thrown when part of the Guacamole API encounters
|
||||
* an unexpected, internal error. An internal error, if correctable, would
|
||||
* require correction on the server side, not the client.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleServerException extends GuacamoleException {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
* A security-related exception thrown when parts of the Guacamole API is
|
||||
* denying access to a resource, but access MAY be granted were the user
|
||||
* authorized (logged in).
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleUnauthorizedException extends GuacamoleSecurityException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which is thrown when the requested operation is unsupported
|
||||
* or unimplemented.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleUnsupportedException extends GuacamoleServerException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which indicates than an upstream server (such as the remote
|
||||
* desktop) is returning an error or is otherwise unreachable.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleUpstreamException extends GuacamoleException {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.protocol.GuacamoleStatus;
|
||||
/**
|
||||
* An exception which indicates than an upstream server (such as the remote
|
||||
* desktop) is taking too long to respond.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleUpstreamTimeoutException extends GuacamoleUpstreamException {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleInstruction;
|
||||
/**
|
||||
* Provides abstract and raw character read access to a stream of Guacamole
|
||||
* instructions.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public interface GuacamoleReader {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.protocol.GuacamoleInstruction;
|
||||
/**
|
||||
* Provides abstract and raw character write access to a stream of Guacamole
|
||||
* instructions.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public interface GuacamoleWriter {
|
||||
|
||||
|
@@ -35,8 +35,6 @@ import org.apache.guacamole.protocol.GuacamoleInstruction;
|
||||
/**
|
||||
* A GuacamoleReader which wraps a standard Java Reader, using that Reader as
|
||||
* the Guacamole instruction stream.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class ReaderGuacamoleReader implements GuacamoleReader {
|
||||
|
||||
|
@@ -33,8 +33,6 @@ import org.apache.guacamole.protocol.GuacamoleInstruction;
|
||||
/**
|
||||
* A GuacamoleWriter which wraps a standard Java Writer, using that Writer as
|
||||
* the Guacamole instruction stream.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class WriterGuacamoleWriter implements GuacamoleWriter {
|
||||
|
||||
|
@@ -29,8 +29,6 @@ import org.apache.guacamole.io.GuacamoleWriter;
|
||||
* Base GuacamoleTunnel implementation which synchronizes access to the
|
||||
* underlying reader and writer with reentrant locks. Implementations need only
|
||||
* provide the tunnel's UUID and socket.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public abstract class AbstractGuacamoleTunnel implements GuacamoleTunnel {
|
||||
|
||||
|
@@ -27,8 +27,6 @@ import org.apache.guacamole.io.GuacamoleWriter;
|
||||
/**
|
||||
* GuacamoleTunnel implementation which simply delegates all function calls to
|
||||
* an underlying GuacamoleTunnel.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class DelegatingGuacamoleTunnel implements GuacamoleTunnel {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.io.GuacamoleWriter;
|
||||
|
||||
/**
|
||||
* Provides abstract socket-like access to a Guacamole connection.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public interface GuacamoleSocket {
|
||||
|
||||
|
@@ -28,8 +28,6 @@ import org.apache.guacamole.io.GuacamoleWriter;
|
||||
/**
|
||||
* Provides a unique identifier and synchronized access to the GuacamoleReader
|
||||
* and GuacamoleWriter associated with a GuacamoleSocket.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public interface GuacamoleTunnel {
|
||||
|
||||
|
@@ -43,8 +43,6 @@ import org.slf4j.LoggerFactory;
|
||||
/**
|
||||
* Provides abstract socket-like access to a Guacamole connection over a given
|
||||
* hostname and port.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class InetGuacamoleSocket implements GuacamoleSocket {
|
||||
|
||||
|
@@ -41,8 +41,6 @@ import org.slf4j.LoggerFactory;
|
||||
/**
|
||||
* Provides abstract socket-like access to a Guacamole connection over SSL to
|
||||
* a given hostname and port.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class SSLGuacamoleSocket implements GuacamoleSocket {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import java.util.UUID;
|
||||
/**
|
||||
* GuacamoleTunnel implementation which uses a provided socket. The UUID of
|
||||
* the tunnel will be randomly generated.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class SimpleGuacamoleTunnel extends AbstractGuacamoleTunnel {
|
||||
|
||||
|
@@ -36,8 +36,6 @@ import org.apache.guacamole.net.GuacamoleSocket;
|
||||
* a specific configuration while disallowing the client that will be using
|
||||
* this GuacamoleSocket from manually controlling the initial protocol
|
||||
* handshake.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.apache.guacamole.io.GuacamoleReader;
|
||||
* GuacamoleReader which applies a given GuacamoleFilter to observe or alter all
|
||||
* read instructions. Instructions may also be dropped or denied by the the
|
||||
* filter.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class FilteredGuacamoleReader implements GuacamoleReader {
|
||||
|
||||
|
@@ -27,8 +27,6 @@ import org.apache.guacamole.net.GuacamoleSocket;
|
||||
/**
|
||||
* Implementation of GuacamoleSocket which allows individual instructions to be
|
||||
* intercepted, overridden, etc.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class FilteredGuacamoleSocket implements GuacamoleSocket {
|
||||
|
||||
|
@@ -27,8 +27,6 @@ import org.apache.guacamole.io.GuacamoleWriter;
|
||||
* GuacamoleWriter which applies a given GuacamoleFilter to observe or alter
|
||||
* all written instructions. Instructions may also be dropped or denied by
|
||||
* the filter.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class FilteredGuacamoleWriter implements GuacamoleWriter {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import java.util.List;
|
||||
/**
|
||||
* An abstract representation of Guacamole client information, including all
|
||||
* information required by the Guacamole protocol during the preamble.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleClientInformation {
|
||||
|
||||
|
@@ -29,8 +29,6 @@ import java.util.Set;
|
||||
/**
|
||||
* All information necessary to complete the initial protocol handshake of a
|
||||
* Guacamole session.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleConfiguration implements Serializable {
|
||||
|
||||
|
@@ -25,8 +25,6 @@ import org.apache.guacamole.GuacamoleException;
|
||||
* Interface which provides for the filtering of individual instructions. Each
|
||||
* filtered instruction may be allowed through untouched, modified, replaced,
|
||||
* dropped, or explicitly denied.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public interface GuacamoleFilter {
|
||||
|
||||
|
@@ -27,8 +27,6 @@ import java.util.List;
|
||||
/**
|
||||
* An abstract representation of a Guacamole instruction, as defined by the
|
||||
* Guacamole protocol.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleInstruction {
|
||||
|
||||
|
@@ -29,8 +29,6 @@ import org.apache.guacamole.GuacamoleServerException;
|
||||
* Parser for the Guacamole protocol. Arbitrary instruction data is appended,
|
||||
* and instructions are returned as a result. Invalid instructions result in
|
||||
* exceptions.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleParser implements Iterator<GuacamoleInstruction> {
|
||||
|
||||
|
@@ -22,8 +22,6 @@ package org.apache.guacamole.protocol;
|
||||
/**
|
||||
* All possible statuses returned by various Guacamole instructions, each having
|
||||
* a corresponding code.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public enum GuacamoleStatus {
|
||||
|
||||
|
@@ -31,8 +31,6 @@ import org.apache.guacamole.net.GuacamoleTunnel;
|
||||
* such thread. Because the HTTP tunnel requires the stream to be split across
|
||||
* multiple requests, tracking of activity on the tunnel must be performed
|
||||
* independently of the HTTP requests.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
class GuacamoleHTTPTunnel extends DelegatingGuacamoleTunnel {
|
||||
|
||||
|
@@ -36,8 +36,6 @@ import org.slf4j.LoggerFactory;
|
||||
* and closing tunnels which have not been used recently. This class is
|
||||
* intended for use only within the GuacamoleHTTPTunnelServlet implementation,
|
||||
* and has no real utility outside that implementation.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
class GuacamoleHTTPTunnelMap {
|
||||
|
||||
|
@@ -44,8 +44,6 @@ import org.slf4j.LoggerFactory;
|
||||
/**
|
||||
* A HttpServlet implementing and abstracting the operations required by the
|
||||
* HTTP implementation of the JavaScript Guacamole client's tunnel.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Provides abstract access to the tunnels associated with a Guacamole session.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
@Deprecated
|
||||
public class GuacamoleSession {
|
||||
|
@@ -46,8 +46,6 @@ import org.slf4j.LoggerFactory;
|
||||
* the Guacamole.WebSocketTunnel object included with the JavaScript API.
|
||||
* Messages sent/received are simply chunks of the Guacamole protocol
|
||||
* instruction stream.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public abstract class GuacamoleWebSocketTunnelEndpoint extends Endpoint {
|
||||
|
||||
|
@@ -28,8 +28,6 @@ import static org.junit.Assert.*;
|
||||
/**
|
||||
* Tests the ReaderGuacamoleReader implementation of GuacamoleReader, validating
|
||||
* that instructions are parsed correctly.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class ReaderGuacamoleReaderTest {
|
||||
|
||||
|
@@ -29,8 +29,6 @@ import org.junit.Test;
|
||||
/**
|
||||
* Test which validates filtering of Guacamole instructions with
|
||||
* FilteredGuacamoleReader.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class FilteredGuacamoleReaderTest {
|
||||
|
||||
|
@@ -29,8 +29,6 @@ import org.junit.Test;
|
||||
/**
|
||||
* Test which validates filtering of Guacamole instructions with
|
||||
* FilteredGuacamoleWriter.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class FilteredGuacamoleWriterTest {
|
||||
|
||||
|
@@ -26,8 +26,6 @@ import org.junit.Test;
|
||||
/**
|
||||
* Unit test for GuacamoleParser. Verifies that parsing of the Guacamole
|
||||
* protocol works as required.
|
||||
*
|
||||
* @author Michael Jumper
|
||||
*/
|
||||
public class GuacamoleParserTest {
|
||||
|
||||
|
Reference in New Issue
Block a user