From e911a615bccbb10ce1e51bea8ba89fb3324a99f2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 9 Aug 2012 11:42:29 -0700 Subject: [PATCH] Removed trailing whitespace. --- .../guacamole/net/auth/AuthenticationProvider.java | 4 ++-- .../sourceforge/guacamole/net/auth/Credentials.java | 6 +++--- .../net/event/AuthenticationFailureEvent.java | 10 +++++----- .../net/event/AuthenticationSuccessEvent.java | 10 +++++----- .../guacamole/net/event/CredentialEvent.java | 6 +++--- .../guacamole/net/event/TunnelCloseEvent.java | 4 ++-- .../guacamole/net/event/TunnelConnectEvent.java | 6 +++--- .../sourceforge/guacamole/net/event/TunnelEvent.java | 6 +++--- .../event/listener/AuthenticationFailureListener.java | 8 ++++---- .../event/listener/AuthenticationSuccessListener.java | 6 +++--- .../net/event/listener/TunnelCloseListener.java | 6 +++--- .../net/event/listener/TunnelConnectListener.java | 4 ++-- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/AuthenticationProvider.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/AuthenticationProvider.java index 9b6e2a28b..82b49baa8 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/AuthenticationProvider.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/AuthenticationProvider.java @@ -44,7 +44,7 @@ import net.sourceforge.guacamole.protocol.GuacamoleConfiguration; /** * Provides means of retrieving a set of named GuacamoleConfigurations for a * given Credentials object. - * + * * @author Michael Jumper */ public interface AuthenticationProvider { @@ -53,7 +53,7 @@ public interface AuthenticationProvider { * Given an arbitrary credentials object, returns a Map containing all * configurations authorized by those credentials. The keys of this Map * are Strings which uniquely identify each configuration. - * + * * @param credentials The credentials to use to retrieve authorized * configurations. * @return A Map of all configurations authorized by the given credentials, diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/Credentials.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/Credentials.java index c296e3452..60d5101c0 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/Credentials.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/auth/Credentials.java @@ -44,10 +44,10 @@ import javax.servlet.http.HttpSession; * Simple arbitrary set of credentials, including a username/password pair, * the HttpServletRequest associated with the request for authorization * (if any) and the HttpSession associated with that request. - * + * * This class is used along with AuthenticationProvider to provide arbitrary * HTTP-based authentication for Guacamole. - * + * * @author Michael Jumper */ public class Credentials implements Serializable { @@ -73,7 +73,7 @@ public class Credentials implements Serializable { * The HttpSession carrying additional credentials, if any. */ private transient HttpSession session; - + /** * Returns the password associated with this set of credentials. * @return The password associated with this username/password pair, or diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationFailureEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationFailureEvent.java index 46cf00a20..c42460e37 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationFailureEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationFailureEvent.java @@ -6,11 +6,11 @@ import net.sourceforge.guacamole.net.auth.Credentials; * An event which is triggered whenever a user's credentials fail to be * authenticated. The credentials that failed to be authenticated are included * within this event, and can be retrieved using getCredentials(). - * + * * @author Michael Jumper */ public class AuthenticationFailureEvent implements CredentialEvent { - + /** * The credentials which failed authentication */ @@ -19,16 +19,16 @@ public class AuthenticationFailureEvent implements CredentialEvent { /** * Creates a new AuthenticationFailureEvent which represents the failure * to authenticate the given credentials. - * + * * @param credentials The credentials which failed authentication. */ public AuthenticationFailureEvent(Credentials credentials) { this.credentials = credentials; } - + @Override public Credentials getCredentials() { return credentials; } - + } diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationSuccessEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationSuccessEvent.java index 73e666a62..5b6b1189b 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationSuccessEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/AuthenticationSuccessEvent.java @@ -6,11 +6,11 @@ import net.sourceforge.guacamole.net.auth.Credentials; * An event which is triggered whenever a user's credentials pass * authentication. The credentials that passed authentication are included * within this event, and can be retrieved using getCredentials(). - * + * * @author Michael Jumper */ public class AuthenticationSuccessEvent implements CredentialEvent { - + /** * The credentials which passed authentication */ @@ -19,16 +19,16 @@ public class AuthenticationSuccessEvent implements CredentialEvent { /** * Creates a new AuthenticationSuccessEvent which represents a successful * authentication attempt with the given credentials. - * + * * @param credentials The credentials which passed authentication. */ public AuthenticationSuccessEvent(Credentials credentials) { this.credentials = credentials; } - + @Override public Credentials getCredentials() { return credentials; } - + } diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/CredentialEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/CredentialEvent.java index 0b5e5a04b..435c164cd 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/CredentialEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/CredentialEvent.java @@ -5,14 +5,14 @@ import net.sourceforge.guacamole.net.auth.Credentials; /** * Abstract basis for events which may have associated user credentials when * triggered. - * + * * @author Michael Jumper */ public interface CredentialEvent { - + /** * Returns the current credentials of the user triggering the event, if any. - * + * * @return The current credentials of the user triggering the event, if * any, or null if no credentials are associated with the event. */ diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelCloseEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelCloseEvent.java index 1f0a5b95b..d89715514 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelCloseEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelCloseEvent.java @@ -8,7 +8,7 @@ import net.sourceforge.guacamole.net.auth.Credentials; * being closed can be accessed through getTunnel(), and the set of all * credentials available from the request which is closing the tunnel can be * retrieved using getCredentials(). - * + * * @author Michael Jumper */ public class TunnelCloseEvent implements CredentialEvent, TunnelEvent { @@ -27,7 +27,7 @@ public class TunnelCloseEvent implements CredentialEvent, TunnelEvent { /** * Creates a new TunnelCloseEvent which represents the closing of the * given tunnel via a request associated with the given credentials. - * + * * @param credentials The credentials associated with the request * closing the tunnel. * @param tunnel The tunnel being closed. diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelConnectEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelConnectEvent.java index 8a52d5df7..b1608111e 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelConnectEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelConnectEvent.java @@ -8,11 +8,11 @@ import net.sourceforge.guacamole.net.auth.Credentials; * being connected can be accessed through getTunnel(), and the set of all * credentials available from the request which is connecting the tunnel can be * retrieved using getCredentials(). - * + * * @author Michael Jumper */ public class TunnelConnectEvent implements CredentialEvent, TunnelEvent { - + /** * The credentials associated with the request that is connecting the * tunnel, if any. @@ -27,7 +27,7 @@ public class TunnelConnectEvent implements CredentialEvent, TunnelEvent { /** * Creates a new TunnelConnectEvent which represents the connecting of the * given tunnel via a request associated with the given credentials. - * + * * @param credentials The credentials associated with the request * connecting the tunnel. * @param tunnel The tunnel being connected. diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelEvent.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelEvent.java index 65cec0648..0d5272854 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelEvent.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/TunnelEvent.java @@ -4,14 +4,14 @@ import net.sourceforge.guacamole.net.GuacamoleTunnel; /** * Abstract basis for events associated with tunnels. - * + * * @author Michael Jumper */ public interface TunnelEvent { - + /** * Returns the tunnel associated with this event, if any. - * + * * @return The tunnel associated with this event, if any, or null if no * tunnel is associated with this event. */ diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationFailureListener.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationFailureListener.java index 0a2ec03b3..ed5d759e6 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationFailureListener.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationFailureListener.java @@ -7,15 +7,15 @@ import net.sourceforge.guacamole.net.event.AuthenticationFailureEvent; * A listener whose authenticationFailed() hook will fire immediately * after a user's authentication attempt fails. Note that this hook cannot * be used to cancel the authentication failure. - * + * * @author Michael Jumper */ public interface AuthenticationFailureListener { - + /** * Event hook which fires immediately after a user's authentication attempt * fails. - * + * * @param e The AuthenticationFailureEvent describing the authentication * failure that just occurred. * @throws GuacamoleException If an error occurs while handling the @@ -25,5 +25,5 @@ public interface AuthenticationFailureListener { */ public void authenticationFailed(AuthenticationFailureEvent e) throws GuacamoleException; - + } diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationSuccessListener.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationSuccessListener.java index 5422816c8..b272f4134 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationSuccessListener.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/AuthenticationSuccessListener.java @@ -8,16 +8,16 @@ import net.sourceforge.guacamole.net.event.AuthenticationSuccessEvent; * authentication attempt succeeds. If a user successfully authenticates, * the authenticationSucceeded() hook has the opportunity to cancel the * authentication and force it to fail. - * + * * @author Michael Jumper */ public interface AuthenticationSuccessListener { - + /** * Event hook which fires immediately after a user's authentication attempt * succeeds. The return value of this hook dictates whether the * successful authentication attempt is canceled. - * + * * @param e The AuthenticationFailureEvent describing the authentication * failure that just occurred. * @return true if the successful authentication attempt should be diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelCloseListener.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelCloseListener.java index 0eb89703c..e008ce89c 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelCloseListener.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelCloseListener.java @@ -6,16 +6,16 @@ import net.sourceforge.guacamole.net.event.TunnelCloseEvent; /** * A listener whose tunnelClosed() hook will fire immediately after an * existing tunnel is closed. - * + * * @author Michael Jumper */ public interface TunnelCloseListener { - + /** * Event hook which fires immediately after an existing tunnel is closed. * The return value of this hook dictates whether the tunnel is allowed to * be closed. - * + * * @param e The TunnelCloseEvent describing the tunnel being closed and * any associated credentials. * @return true if the tunnel should be allowed to be closed, or false diff --git a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelConnectListener.java b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelConnectListener.java index a59f8f9e5..276687a45 100644 --- a/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelConnectListener.java +++ b/guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/TunnelConnectListener.java @@ -6,7 +6,7 @@ import net.sourceforge.guacamole.net.event.TunnelConnectEvent; /** * A listener whose tunnelConnected() hook will fire immediately after a new * tunnel is connected. - * + * * @author Michael Jumper */ public interface TunnelConnectListener { @@ -15,7 +15,7 @@ public interface TunnelConnectListener { * Event hook which fires immediately after a new tunnel is connected. * The return value of this hook dictates whether the tunnel is made visible * to the session. - * + * * @param e The TunnelConnectEvent describing the tunnel being connected and * any associated credentials. * @return true if the tunnel should be allowed to be connected, or false