Interface MapRootAuthenticationSessionEntity

All Superinterfaces:
AbstractEntity, ExpirableEntity, UpdatableEntity
All Known Implementing Classes:
HotRodRootAuthenticationSessionEntity.AbstractHotRodRootAuthenticationSessionEntityDelegate, HotRodRootAuthenticationSessionEntityDelegate, JpaRootAuthenticationSessionEntity, JpaRootAuthenticationSessionMetadata, MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity, MapRootAuthenticationSessionEntityDelegate, MapRootAuthenticationSessionEntityFieldDelegate, MapRootAuthenticationSessionEntityImpl, MapRootAuthenticationSessionEntityImpl.Empty

public interface MapRootAuthenticationSessionEntity extends AbstractEntity, UpdatableEntity, ExpirableEntity
Author:
Martin Kanis
  • Method Details

    • getRealmId

      String getRealmId()
    • setRealmId

      void setRealmId(String realmId)
    • getTimestamp

      Long getTimestamp()
      Returns a point in time (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.
      Returns:
      a timestamp in milliseconds since The Epoch or null when the time is unknown
    • setTimestamp

      void setTimestamp(Long timestamp)
      Sets a point in the (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.
      Parameters:
      timestamp - a timestamp in milliseconds since The Epoch or null when the time is unknown
    • getAuthenticationSessions

      Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
    • setAuthenticationSessions

      void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
    • getAuthenticationSession

      Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
    • addAuthenticationSession

      void addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
    • removeAuthenticationSession

      Boolean removeAuthenticationSession(String tabId)