Leosac  0.8.0
Open Source Access Control
Leosac::ExecutionContext Struct Reference

An ExecutionContext is passed around to service so they have context about who is making the call and how. More...

#include <SecurityContext.hpp>

+ Inheritance diagram for Leosac::ExecutionContext:
+ Collaboration diagram for Leosac::ExecutionContext:

Public Member Functions

 ExecutionContext (SecurityContext &sc)
 
 ExecutionContext (SecurityContext &sc, const Audit::IAuditEntryPtr &)
 

Public Attributes

SecurityContextsec
 The SecurityContext of the caller. More...
 
Audit::IAuditEntryPtr audit
 An optional audit object that would act as parent for the audit trail. More...
 

Detailed Description

An ExecutionContext is passed around to service so they have context about who is making the call and how.

Definition at line 301 of file SecurityContext.hpp.

Constructor & Destructor Documentation

◆ ExecutionContext() [1/2]

ExecutionContext::ExecutionContext ( SecurityContext sc)
explicit

Definition at line 133 of file SecurityContext.cpp.

◆ ExecutionContext() [2/2]

ExecutionContext::ExecutionContext ( SecurityContext sc,
const Audit::IAuditEntryPtr audit 
)

Definition at line 138 of file SecurityContext.cpp.

Member Data Documentation

◆ audit

Audit::IAuditEntryPtr Leosac::ExecutionContext::audit

An optional audit object that would act as parent for the audit trail.

Definition at line 317 of file SecurityContext.hpp.

◆ sec

SecurityContext& Leosac::ExecutionContext::sec

The SecurityContext of the caller.

Definition at line 311 of file SecurityContext.hpp.


The documentation for this struct was generated from the following files: