mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1: Finish refactor within classname strings. Fix comments.
This commit is contained in:
@@ -94,8 +94,8 @@ public class FileAuthenticationProvider extends SimpleAuthenticationProvider {
|
||||
public static final String USER_MAPPING_FILENAME = "user-mapping.xml";
|
||||
|
||||
/**
|
||||
* Creates a new BasicFileAuthenticationProvider that authenticates users
|
||||
* against simple, monolithic XML file.
|
||||
* Creates a new FileAuthenticationProvider that authenticates users against
|
||||
* simple, monolithic XML file.
|
||||
*
|
||||
* @throws GuacamoleException
|
||||
* If a required property is missing, or an error occurs while parsing
|
||||
|
@@ -72,8 +72,7 @@ public class HashTokenSessionMap implements TokenSessionMap {
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a new BasicTokenGuacamoleSessionMap configured using the given
|
||||
* environment.
|
||||
* Create a new HashTokenSessionMap configured using the given environment.
|
||||
*
|
||||
* @param environment
|
||||
* The environment to use when configuring the token session map.
|
||||
|
@@ -44,10 +44,10 @@ public class TunnelModule extends ServletModule {
|
||||
* Classnames of all implementation-specific WebSocket tunnel modules.
|
||||
*/
|
||||
private static final String[] WEBSOCKET_MODULES = {
|
||||
"org.apache.guacamole.websocket.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.websocket.jetty8.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.websocket.jetty9.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.websocket.tomcat.WebSocketTunnelModule"
|
||||
"org.apache.guacamole.tunnel.websocket.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.tunnel.websocket.jetty8.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.tunnel.websocket.jetty9.WebSocketTunnelModule",
|
||||
"org.apache.guacamole.tunnel.websocket.tomcat.WebSocketTunnelModule"
|
||||
};
|
||||
|
||||
private boolean loadWebSocketModule(String classname) {
|
||||
|
@@ -34,7 +34,6 @@ import org.apache.guacamole.net.GuacamoleTunnel;
|
||||
import org.apache.guacamole.tunnel.TunnelRequest;
|
||||
import org.apache.guacamole.tunnel.TunnelRequestService;
|
||||
import org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint;
|
||||
import org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint;
|
||||
|
||||
/**
|
||||
* Tunnel implementation which uses WebSocket as a tunnel backend, rather than
|
||||
|
@@ -45,7 +45,7 @@ public class WebSocketTunnelModule extends ServletModule implements TunnelLoader
|
||||
try {
|
||||
|
||||
// Attempt to find WebSocket servlet
|
||||
Class.forName("org.apache.guacamole.websocket.jetty8.BasicGuacamoleWebSocketTunnelServlet");
|
||||
Class.forName("org.apache.guacamole.tunnel.websocket.jetty8.RestrictedGuacamoleWebSocketTunnelServlet");
|
||||
|
||||
// Support found
|
||||
return true;
|
||||
|
@@ -45,7 +45,7 @@ public class WebSocketTunnelModule extends ServletModule implements TunnelLoader
|
||||
try {
|
||||
|
||||
// Attempt to find WebSocket servlet
|
||||
Class.forName("org.apache.guacamole.websocket.jetty9.BasicGuacamoleWebSocketTunnelServlet");
|
||||
Class.forName("org.apache.guacamole.tunnel.websocket.jetty9.RestrictedGuacamoleWebSocketTunnelServlet");
|
||||
|
||||
// Support found
|
||||
return true;
|
||||
|
@@ -45,7 +45,7 @@ public class WebSocketTunnelModule extends ServletModule implements TunnelLoader
|
||||
try {
|
||||
|
||||
// Attempt to find WebSocket servlet
|
||||
Class.forName("org.apache.guacamole.websocket.tomcat.BasicGuacamoleWebSocketTunnelServlet");
|
||||
Class.forName("org.apache.guacamole.tunnel.websocket.tomcat.RestrictedGuacamoleWebSocketTunnelServlet");
|
||||
|
||||
// Support found
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user