Packages

class InMemorySessionStorage extends SessionStorage with AutoInject

Build server instance-specific session storage. This is not available in a redundant system, as the same session store must be referenced from all instances.

Annotations
@Inject()
Linear Supertypes
AutoInject, SessionStorage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemorySessionStorage
  2. AutoInject
  3. SessionStorage
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InMemorySessionStorage(st: ScalaTime, conf: SAMLAuthConfig)

    st

    Specified system clock.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def createOrReuseSession(SessionId: SessionId): Boolean

    Ensure existance of a session with the provided key.

    Ensure existance of a session with the provided key. Returns whether the session is new

    returns

    Returns true when it is newly created.

    Definition Classes
    InMemorySessionStorageSessionStorage
  7. def destroySession(sessionId: SessionId): Boolean

    Destroy the session.

    Destroy the session.

    returns

    Returns false if the Session did not originally exist.

    Definition Classes
    InMemorySessionStorageSessionStorage
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getSessionValue(SessionId: SessionId, key: ValueKey): Option[Any]

    Get the additional attributes of the session.

    Get the additional attributes of the session.

    Definition Classes
    InMemorySessionStorageSessionStorage
  12. def getSessionValues(SessionId: SessionId): Option[Map[ValueKey, Any]]

    Get the additional attributes of the session.

    Get the additional attributes of the session.

    Definition Classes
    InMemorySessionStorageSessionStorage
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def renewSession(SessionId: SessionId): Boolean

    Update your session.

    Update your session. If it doesn't exist to begin with, nothing is done and it responds false.

    Definition Classes
    InMemorySessionStorageSessionStorage
  19. def sessionExists(SessionId: SessionId): Boolean

    Check whether a session exists

    Check whether a session exists

    returns

    Returns true if there is a session with the same id.

    Definition Classes
    InMemorySessionStorageSessionStorage
  20. def setSessionValue(SessionId: SessionId, key: ValueKey, value: Any): Boolean

    Add the additional attributes of the session.

    Add the additional attributes of the session.

    returns

    Complete status.

    Definition Classes
    InMemorySessionStorageSessionStorage
  21. def setSessionValues(SessionId: SessionId, values: Map[ValueKey, Any]): Boolean

    Add the additional attributes of the session.

    Add the additional attributes of the session.

    returns

    Complete status.

    Definition Classes
    InMemorySessionStorageSessionStorage
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AutoInject

Inherited from SessionStorage

Inherited from AnyRef

Inherited from Any

Ungrouped