Class AbstractClientStorageAdapter

java.lang.Object
org.keycloak.storage.client.UnsupportedOperationsClientStorageAdapter
org.keycloak.storage.client.AbstractClientStorageAdapter
All Implemented Interfaces:
ClientModel, ClientScopeModel, OrderedModel, ProtocolMapperContainerModel, RoleContainerModel, ScopeContainerModel
Direct Known Subclasses:
AbstractReadOnlyClientStorageAdapter

public abstract class AbstractClientStorageAdapter extends UnsupportedOperationsClientStorageAdapter
Helper base class for ClientModel implementations for ClientStorageProvider implementations. Contains default implementations of some methods
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Creates federated id based on getClientId() method
      Returns:
    • getRealm

      public final RealmModel getRealm()
    • isSurrogateAuthRequired

      public boolean isSurrogateAuthRequired()
      This method really isn't used by anybody anywhere. Legacy feature never supported.
      Returns:
    • setSurrogateAuthRequired

      public void setSurrogateAuthRequired(boolean surrogateAuthRequired)
      This method really isn't used by anybody anywhere. Legacy feature never supported.
    • getRegisteredNodes

      public Map<String,Integer> getRegisteredNodes()
      This is for logout. Empty implementation for now. Can override if you can store this information somewhere.
      Returns:
    • registerNode

      public void registerNode(String nodeHost, int registrationTime)
      This is for logout. Empty implementation for now. Can override if you can store this information somewhere.
    • unregisterNode

      public void unregisterNode(String nodeHost)
      This is for logout. Empty implementation for now. Can override if you can store this information somewhere.
    • updateClient

      public void updateClient()
      Overriding implementations should call super.updateClient() as this fires off an update event.
      See Also: