Wombat::Session - internal session interface
This interface extends Servlet::Http::HttpSession to provide fields and methods accessible only to the container.
Return the authentication type used to authenticate the cached principal, if any.
Set the authentication type used to authenticate the cached principal, if any.
Parameters:
the authentication type
Set the creation time for this Session. This method is called by the SessionManager when a Session instance is created or an existing Session instance is reused.
the creation time, in seconds since the epoch
Set the session identifier for this Session.
the session identifier
Set a flag specifying whether or not the session is newly created.
the boolean value to set
Return the authenticated principal for this Session, or undef if there is none.
undef
Set the authenticated principal for this Session.
the new principal
Return the HttpSession which acts as a facade for this Session to servlet applications.
Return the SessionManager which manages this Session.
Set the SessionManager which manages this Session.
the Wombat::SessionManager
Return a flag specifying whether or not the session is valid.
Set a flag specifying whether or not the session is valid.
Update the accessed time information for this Session. This method should be called by the Application when processing a Request, even if the Application does not reference it.
Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired.
Release all object references and initialize instances variables in preparation for use or reuse of this object.
Servlet::Http::HttpSession, Wombat::SessionManager
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.