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.
An extremely simple read-only implementation of a Directory of
GuacamoleConfigurations which provides access to a pre-defined Map of
GuacamoleConfigurations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.guacamole.net.auth.Directory
Directory.Type
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleConnectionDirectory
(Collection<Connection> connections) Deprecated.Creates a new SimpleConnectionDirectory which provides access to the connections contained within the given Map. -
Method Summary
Modifier and TypeMethodDescriptionputConnection
(Connection connection) Deprecated.An internal method for modifying the Connections in this Directory.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.guacamole.net.auth.Directory
tryAtomically
-
Constructor Details
-
SimpleConnectionDirectory
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
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
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.
-
SimpleDirectory
instead.