Class SimpleConnectionDirectory

java.lang.Object
org.apache.guacamole.net.auth.simple.SimpleDirectory<Connection>
org.apache.guacamole.net.auth.simple.SimpleConnectionDirectory
All Implemented Interfaces:
Directory<Connection>

@Deprecated public class SimpleConnectionDirectory extends SimpleDirectory<Connection>
Deprecated.
Use SimpleDirectory instead.
An extremely simple read-only implementation of a Directory of GuacamoleConfigurations which provides access to a pre-defined Map of GuacamoleConfigurations.
  • Constructor Details

    • SimpleConnectionDirectory

      public SimpleConnectionDirectory(Collection<Connection> connections)
      Deprecated.
      Creates a new SimpleConnectionDirectory which provides access to the connections contained within the given Map.
      Parameters:
      connections - A Collection of all connections that should be present in this connection directory.
  • Method Details

    • putConnection

      public Connection putConnection(Connection connection)
      Deprecated.
      An internal method for modifying the Connections in this Directory. Returns the previous connection for the given identifier, if found.
      Parameters:
      connection - The connection to add or update the Directory with.
      Returns:
      The previous connection for the connection identifier, if found.
    • removeConnection

      public Connection removeConnection(String identifier)
      Deprecated.
      An internal method for removing a Connection from this Directory.
      Parameters:
      identifier - The identifier of the Connection to remove.
      Returns:
      The previous connection for the given identifier, if found.