Namespace: Consultingwerk.Framework.Server
Class 
RestServerSessionActivator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:RestServerSessionActivator
Purpose:Performs session activation for REST requests
Description:Requires SmartFramework
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 16 11:32:03 CET 2016
Notes:Although in our default setup this class is loaded as a
service using services.xml there is no need to implement
an interface. This class subscribes itself to events of
the service interface and does not have any public methods
Supports the VALIDATE-SEAL custom logging entry with the
logging level 2 for status messages only and 4 for detailled
debug output



Top Method Summary
Options Name Purpose
# ActivateServerSession (EventArgs) Activates a server session
# DeactivateServerSession (EventArgs) Deactivates a server session
# HANDLE GetClientPrincipal () Returns the current client-principal object

Top Constructor Summary
Options Name Purpose
+ RestServerSessionActivator () Constructor for the ServerSessionActivator class


Method Detail
Top

PROTECTED ActivateServerSession (EventArgs)

Purpose: Activates a server session
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED DeactivateServerSession (EventArgs)

Purpose: Deactivates a server session
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED HANDLE GetClientPrincipal ()

Purpose: Returns the current client-principal object
Notes: Method may be overridden to return a client-principal object
from a custom source. This implementation returns
SESSION:CURRENT-REQUEST-INFO:GetClientPrincipal() CURRENT-REQUEST-INFO:GetClientPrincipal()

Returns HANDLE
The handle of the client-principal object


Constructor Detail
Top

PUBLIC RestServerSessionActivator ()

Purpose: Constructor for the ServerSessionActivator class
Notes:



©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:13:49