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 public class SimpleConnectionGroupDirectory extends SimpleDirectory<ConnectionGroup>
Deprecated.UseSimpleDirectory
instead.An extremely simple read-only implementation of a Directory of ConnectionGroup which provides which provides access to a pre-defined Collection of ConnectionGroups.
-
-
Constructor Summary
Constructors Constructor Description SimpleConnectionGroupDirectory(Collection<ConnectionGroup> groups)
Deprecated.Creates a new SimpleConnectionGroupDirectory which contains the given groups.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionGroup
putConnectionGroup(ConnectionGroup connectionGroup)
Deprecated.An internal method for modifying the ConnectionGroups in this Directory.ConnectionGroup
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, update
-
-
-
-
Constructor Detail
-
SimpleConnectionGroupDirectory
public SimpleConnectionGroupDirectory(Collection<ConnectionGroup> groups)
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 Detail
-
putConnectionGroup
public ConnectionGroup putConnectionGroup(ConnectionGroup connectionGroup)
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
public ConnectionGroup removeConnectionGroup(String identifier)
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.
-
-