Interface ClientStorageManagerV2

All Superinterfaces:
ClientStorageManager
All Known Implementing Classes:
ClientStorageManagerBase

public interface ClientStorageManagerV2 extends ClientStorageManager
An interface that defines a search method for OAuth client data in custom storage implementations.

Custom storage implementations should be extended from ClientStorageManagerBase rather than directly implementing this interface to benefit from the default methods it provides.

Since:
8.4
  • Field Details

  • Method Details

    • search

      Search for a client based on the provided SearchCriteria. This method is only used by the administrative console.

      This method only needs to be overridden to optimize search performance and is only invoked by the administrative console. The default implementation retrieves all entries to provide basic functionality. For optimal performance, custom storage implementations should keep track of the name and lastModified fields (and preferably index them).

      Parameters:
      searchCriteria - the search criteria
      Returns:
      sorted list of clients based on the search criteria
      Throws:
      ClientStorageManagementException - if client storage communication fails.