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.UseSimpleDirectory
instead.An extremely simple read-only implementation of a Directory of GuacamoleConfigurations which provides access to a pre-defined Map of GuacamoleConfigurations.
-
-
Constructor Summary
Constructors Constructor Description SimpleConnectionDirectory(Collection<Connection> connections)
Deprecated.Creates a new SimpleConnectionDirectory which provides access to the connections contained within the given Map.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Connection
putConnection(Connection connection)
Deprecated.An internal method for modifying the Connections in this Directory.Connection
removeConnection(String identifier)
Deprecated.An internal method for removing a Connection from this Directory.-
Methods inherited from class org.apache.guacamole.net.auth.simple.SimpleDirectory
add, get, getAll, getIdentifiers, getObjects, remove, setObjects, update
-
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-