Class GuacamoleProxyConfiguration

java.lang.Object
org.apache.guacamole.net.auth.GuacamoleProxyConfiguration

public class GuacamoleProxyConfiguration extends Object
Information which describes how the connection to guacd should be established. This includes the hostname and port which guacd is listening on, as well as the type of encryption required, if any.
Author:
Michael Jumper
  • Constructor Details

    • GuacamoleProxyConfiguration

      public GuacamoleProxyConfiguration(String hostname, int port, GuacamoleProxyConfiguration.EncryptionMethod encryptionMethod)
      Creates a new GuacamoleProxyConfiguration having the given hostname, port, and encryption method.
      Parameters:
      hostname - The hostname or address of the machine where guacd is running.
      port - The port that guacd is listening on.
      encryptionMethod - The type of encryption required by the instance of guacd running at the given hostname and port.
    • GuacamoleProxyConfiguration

      public GuacamoleProxyConfiguration(String hostname, int port, boolean ssl)
      Creates a new GuacamoleProxyConfiguration having the given hostname and port, with encryption method being restricted to either NONE or SSL.
      Parameters:
      hostname - The hostname or address of the machine where guacd is running.
      port - The port that guacd is listening on.
      ssl - true if guacd requires SSL/TLS encryption, false if communication with guacd should be unencrypted.
  • Method Details

    • getHostname

      public String getHostname()
      Returns the hostname or address of the machine where guacd is running.
      Returns:
      The hostname or address of the machine where guacd is running.
    • getPort

      public int getPort()
      Returns the port that guacd is listening on.
      Returns:
      The port that guacd is listening on.
    • getEncryptionMethod

      public GuacamoleProxyConfiguration.EncryptionMethod getEncryptionMethod()
      Returns the type of encryption required by guacd.
      Returns:
      The type of encryption required by guacd.