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.
Use SimpleDirectory 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 Details

    • 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 Details

    • 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.