Class SimpleConnectionGroupDirectory
java.lang.Object
org.apache.guacamole.net.auth.simple.SimpleDirectory<ConnectionGroup>
org.apache.guacamole.net.auth.simple.SimpleConnectionGroupDirectory
- All Implemented Interfaces:
Directory<ConnectionGroup>
Deprecated.
An extremely simple read-only implementation of a Directory of
ConnectionGroup which provides which provides access to a pre-defined
Collection of ConnectionGroups.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.guacamole.net.auth.Directory
Directory.Type -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new SimpleConnectionGroupDirectory which contains the given groups. -
Method Summary
Modifier and TypeMethodDescriptionputConnectionGroup(ConnectionGroup connectionGroup) Deprecated.An internal method for modifying the ConnectionGroups in this Directory.removeConnectionGroup(String identifier) Deprecated.An internal method for removing a ConnectionGroup from this Directory.Methods inherited from class org.apache.guacamole.net.auth.simple.SimpleDirectory
add, get, getAll, getIdentifiers, getObjects, remove, setObjects, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.guacamole.net.auth.Directory
tryAtomically
-
Constructor Details
-
SimpleConnectionGroupDirectory
Deprecated.Creates a new SimpleConnectionGroupDirectory which contains the given groups.- Parameters:
groups- A Collection of all groups that should be present in this connection group directory.
-
-
Method Details
-
putConnectionGroup
Deprecated.An internal method for modifying the ConnectionGroups in this Directory. Returns the previous connection group for the given identifier, if found.- Parameters:
connectionGroup- The connection group to add or update the Directory with.- Returns:
- The previous connection group for the connection group identifier, if found.
-
removeConnectionGroup
Deprecated.An internal method for removing a ConnectionGroup from this Directory.- Parameters:
identifier- The identifier of the ConnectionGroup to remove.- Returns:
- The previous connection group for the given identifier, if found.
-
SimpleDirectoryinstead.