org.keycloak.models.cache.infinispan.entities

## Class CachedFederatedIdentityLinks

- java.lang.Object
- - org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
  - - org.keycloak.models.cache.infinispan.entities.CachedFederatedIdentityLinks

- All Implemented Interfaces:
    Serializable, InRealm, Revisioned

      public class CachedFederatedIdentityLinks
      extends AbstractRevisioned
      implements InRealm

  The cache entry, which contains list of all identityProvider links for particular user. It needs to be updated every time when any federation link is added, removed or updated for the user
  Author:
    Marek Posolda
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CachedFederatedIdentityLinks(Long revision, String id, RealmModel realm, Set<FederatedIdentityModel> federatedIdentities)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<FederatedIdentityModel>` | `getFederatedIdentities()`
    `String` | `getRealm()`

    - ### Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned

      `getId, getRevision, setRevision`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned

      `getId, getRevision, setRevision`

- - ### Constructor Detail

    - #### CachedFederatedIdentityLinks

          public CachedFederatedIdentityLinks(Long revision,
                                              String id,
                                              RealmModel realm,
                                              Set<FederatedIdentityModel> federatedIdentities)

  - ### Method Detail

    - #### getRealm

          public String getRealm()

      Specified by:
        `getRealm` in interface `InRealm`

    - #### getFederatedIdentities

          public Set<FederatedIdentityModel> getFederatedIdentities()

Copyright © 2016 JBoss by Red Hat. All rights reserved.