Class InternalDirectoryForDelegation

All Implemented Interfaces:
FastEntityCountProvider, InternalRemoteDirectory, MultiValuesQueriesSupport, RemoteDirectory, Attributes

public class InternalDirectoryForDelegation extends InternalDirectory
This is the internal front-end of a delegating directory. It similar to InternalDirectory, but with externally managed and mutable externalIds.
Since:
v2.7
  • Constructor Details

  • Method Details

    • isUserExternalIdReadOnly

      public boolean isUserExternalIdReadOnly()
      Description copied from class: InternalDirectory
      When an InternalDirectory is used as an internal directory, it must manage the values of the external_id column. However, when it is used as the front-end in a delegating directory, the values of the column are dictated by the remote LDAP directory and are subject to change. This method makes it possible to switch between these two behaviours.
      Overrides:
      isUserExternalIdReadOnly in class InternalDirectory
      Returns:
      true in this class because it manages the external_id values and does not allow mutability.