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()
- Alphabetic
- By Inheritance
- InMemorySessionStorage
- AutoInject
- SessionStorage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InMemorySessionStorage(st: ScalaTime, conf: SAMLAuthConfig)
- st
Specified system clock.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- InMemorySessionStorage → SessionStorage
- def destroySession(sessionId: SessionId): Boolean
Destroy the session.
Destroy the session.
- returns
Returns false if the Session did not originally exist.
- Definition Classes
- InMemorySessionStorage → SessionStorage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getSessionValue(SessionId: SessionId, key: ValueKey): Option[Any]
Get the additional attributes of the session.
Get the additional attributes of the session.
- Definition Classes
- InMemorySessionStorage → SessionStorage
- def getSessionValues(SessionId: SessionId): Option[Map[ValueKey, Any]]
Get the additional attributes of the session.
Get the additional attributes of the session.
- Definition Classes
- InMemorySessionStorage → SessionStorage
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- InMemorySessionStorage → SessionStorage
- 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
- InMemorySessionStorage → SessionStorage
- 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
- InMemorySessionStorage → SessionStorage
- 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
- InMemorySessionStorage → SessionStorage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated