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

File:ServerSessionActivator
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 16 11:32:03 CET 2013
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
Custom LogEntryTypes supported: ProVersion



Top Method Summary
Options Name Purpose
# ActivateServerSession (EventArgs) Activates a server session
# DeactivateServerSession (EventArgs) Deactivates a server session
# OnPerformTechnicalLogin (EventArgs) Raises the PerformTechnicalLogin event

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

Top Event Summary
Options Name Purpose
+ PerformTechnicalLogin (Object, EventArgs) Raised when the ActivateServerSession was not able to reactivate a users client-principal because the length of the CP was 0 (no CP available)


Method Detail
Top

PROTECTED ActivateServerSession (EventArgs)

Purpose: Activates a server session
Notes: The output of the Clients and AppServers ProVersion requires the
"ProVersion" custom log entry type to be activated within the LogManager
class

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 OnPerformTechnicalLogin (EventArgs)

Purpose: Raises the PerformTechnicalLogin event
Notes:

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


Constructor Detail
Top

PUBLIC ServerSessionActivator ()

Purpose: Constructor for the ServerSessionActivator class
Notes:



Event Detail
Top

PUBLIC PerformTechnicalLogin (Object, EventArgs)

Purpose: Raised when the ActivateServerSession was not able to reactivate
a users client-principal because the length of the CP was 0 (no
CP available)
Notes: This event may be used to authenticate a technical user that is
authorized to run requests on behalf of unauthenticated sessions

Parameters:
sender Progress.Lang.Object
The object that raised the PerformTechnicalLogin event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:29:01