HttpSessionRepo

org.beangle.security.session.http.HttpSessionRepo
class HttpSessionRepo(cacheManager: CacheManager, serializer: BinarySerializer) extends CacheSessionRepo

Attributes

Graph
Supertypes
trait Logging
trait Initializing
trait SessionRepo
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def expire(sid: String): Unit

Attributes

Definition Classes
SessionRepo
override def findByPrincipal(principal: String): Seq[Session]

Attributes

Definition Classes
SessionRepo
override def flush(session: Session): Boolean

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

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

Value parameters

session

会话

Attributes

Returns

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

Definition Classes
protected def getInternal(sid: String): Option[Session]

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 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

Concrete fields

var accessUrl: String
var expireUrl: String
var findUrl: String
var geturl: String

Inherited fields

Attributes

Inherited from:
CacheSessionRepo
var flushInterval: Int

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

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

Attributes

Inherited from:
CacheSessionRepo
protected val logger: Logger

Attributes

Inherited from:
Logging