org.keycloak.models.sessions.infinispan.entities

## Class RootAuthenticationSessionEntity

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.entities.SessionEntity
  - - org.keycloak.models.sessions.infinispan.entities.RootAuthenticationSessionEntity

- All Implemented Interfaces:
    Serializable

      @SerializeWith(value=RootAuthenticationSessionEntity.ExternalizerImpl.class)
      public class RootAuthenticationSessionEntity
      extends SessionEntity

  Author:
    Marek Posolda
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `RootAuthenticationSessionEntity.ExternalizerImpl`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `` | `RootAuthenticationSessionEntity()`
    `protected` | `RootAuthenticationSessionEntity(String realmId, String id, int timestamp, Map<String,AuthenticationSessionEntity> authenticationSessions)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `Map<String,AuthenticationSessionEntity>` | `getAuthenticationSessions()`
    `String` | `getId()`
    `int` | `getTimestamp()`
    `int` | `hashCode()`
    `void` | `setAuthenticationSessions(Map<String,AuthenticationSessionEntity> authenticationSessions)`
    `void` | `setId(String id)`
    `void` | `setTimestamp(int timestamp)`
    `String` | `toString()`

    - ### Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity

      `getRealmId, mergeRemoteEntityWithLocalEntity, setRealmId`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RootAuthenticationSessionEntity

          public RootAuthenticationSessionEntity()

    - #### RootAuthenticationSessionEntity

          protected RootAuthenticationSessionEntity(String realmId,
                                                    String id,
                                                    int timestamp,
                                                    Map<String,AuthenticationSessionEntity> authenticationSessions)

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getTimestamp

          public int getTimestamp()

    - #### setTimestamp

          public void setTimestamp(int timestamp)

    - #### getAuthenticationSessions

          public Map<String,AuthenticationSessionEntity> getAuthenticationSessions()

    - #### setAuthenticationSessions

          public void setAuthenticationSessions(Map<String,AuthenticationSessionEntity> authenticationSessions)

    - #### equals

          public boolean equals(Object o)

      Specified by:
        `equals` in class `SessionEntity`

    - #### hashCode

          public int hashCode()

      Specified by:
        `hashCode` in class `SessionEntity`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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