This class is an adapter class of the SecurityToken to provide security info into any operations which are called after an instance of this class was instantiated. This avoids to extend subsequent called operations by a new parameter of type SecurityToken.
More...
#include <SecurityContext.hpp>
This class is an adapter class of the SecurityToken to provide security info into any operations which are called after an instance of this class was instantiated. This avoids to extend subsequent called operations by a new parameter of type SecurityToken.
This class implements the stack based thread-singleton pattern, enabling subsequent called operations to retrieve suecurity infos.
◆ SecurityContext()
Arp::Base::Commons::Security::SecurityContext::SecurityContext |
( |
Impl & |
impl | ) |
|
◆ ~SecurityContext()
ARP_EXPORT Arp::System::Security::SecurityContext::~SecurityContext |
( |
void |
| ) |
|
|
default |
The default destructor.
Destructs this instance and frees all resources.
◆ GetCurrent()
ARP_EXPORT const SecurityContext & Arp::System::Security::SecurityContext::GetCurrent |
( |
void |
| ) |
|
|
static |
◆ GetImpl()
const SecurityContext::Impl & Arp::Base::Commons::Security::SecurityContext::GetImpl |
( |
void |
| ) |
|
For internal use only.
- Returns
- The impl instance.
◆ GetSecurityToken()
const SecurityToken & Arp::Base::Commons::Security::SecurityContext::GetSecurityToken |
( |
void |
| ) |
const |
Gets the security token.
- Returns
- The security token.
◆ HasCurrent()
ARP_EXPORT bool Arp::System::Security::SecurityContext::HasCurrent |
( |
void |
| ) |
|
|
static |
The documentation for this class was generated from the following files:
- Arp/Base/Commons/Security/SecurityContext.hpp
- Arp/Base/Commons/Security/SecurityContext.cpp
- Arp/System/Security/SecurityContext.cpp