Class: HubSsoLib::Session

Inherits:
SessionBase show all
Includes:
DRb::DRbUndumped
Defined in:
lib/hub_sso_lib.rb

Overview

Unlike a User, this is undumpable since it only gets passed from server to client. The server’s always here to service requests from the client and used sessions are never garbage collected since the DRb server’s front object, a SessionFactory, keeps them in a hash held within an instance variable.

A recognised weakness here is that a session might disappear from under the feet of an accessing application, due to key rotation or explicit deletion.

Constant Summary

Constants inherited from SessionBase

HubSsoLib::SessionBase::ATTRIBUTES

Instance Attribute Summary

Attributes inherited from SessionBase

#session_return_to

Method Summary

Methods inherited from SessionBase

#initialize

Constructor Details

This class inherits a constructor from HubSsoLib::SessionBase