CasHttpSessionRepo

org.beangle.ems.app.cas.CasHttpSessionRepo
class CasHttpSessionRepo(casConfig: CasConfig, cacheManager: CacheManager, serializer: BinarySerializer) extends HttpSessionRepo

Attributes

Graph
Supertypes
class HttpSessionRepo
class CacheSessionRepo
trait Logging
trait Initializing
trait SessionRepo
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

override def access(sessionId: String, accessAt: Instant): Option[Session]

Attributes

Definition Classes
CacheSessionRepo -> SessionRepo
Inherited from:
CacheSessionRepo
final def evict(sessionId: String): Unit

Attributes

Inherited from:
CacheSessionRepo
override def expire(sid: String): Unit

Attributes

Definition Classes
HttpSessionRepo -> SessionRepo
Inherited from:
HttpSessionRepo
override def findByPrincipal(principal: String): Seq[Session]

Attributes

Definition Classes
HttpSessionRepo -> SessionRepo
Inherited from:
HttpSessionRepo
override def flush(session: Session): Boolean

向后端更新该会话的访问时间

向后端更新该会话的访问时间

Attributes

session

会话

Returns:

true如果是否依然存在该会话

Definition Classes
HttpSessionRepo -> CacheSessionRepo
Inherited from:
HttpSessionRepo
override def get(sessionId: String, refresh: Boolean): Option[Session]

Attributes

Definition Classes
CacheSessionRepo -> SessionRepo
Inherited from:
CacheSessionRepo
override def init(): Unit

do initialization.

do initialization.

Attributes

Definition Classes
CacheSessionRepo -> Initializing
Inherited from:
CacheSessionRepo
protected def put(session: Session): Unit

Attributes

Inherited from:
CacheSessionRepo

Inherited fields

protected val accessReporter: AccessReporter

Attributes

Inherited from:
CacheSessionRepo
var accessUrl: String

Attributes

Inherited from:
HttpSessionRepo
var expireUrl: String

Attributes

Inherited from:
HttpSessionRepo
var findUrl: String

Attributes

Inherited from:
HttpSessionRepo
var flushInterval: Int

flush 间隔,以秒计,默认3分钟

flush 间隔,以秒计,默认3分钟

Attributes

Inherited from:
CacheSessionRepo
var geturl: String

Attributes

Inherited from:
HttpSessionRepo
protected val logger: Logger

Attributes

Inherited from:
Logging