8#include "Arp/System/Rsc/Services/IRscService.hpp"
9#include "Arp/System/Rsc/Services/RscString.hxx"
10#include "Arp/System/Security/SecurityToken.hpp"
11#include "Arp/System/Um/Services/SessionServiceProxyFactory.hpp"
15namespace Arp {
namespace System {
namespace Um {
namespace Services
40 using Ptr = std::shared_ptr<ISessionService>;
47 static IRscServiceProxyFactory& GetProxyFactory(
void);
156inline IRscServiceProxyFactory& ISessionService::GetProxyFactory()
158 return SessionServiceProxyFactory::GetInstance();
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
Definition: SecurityToken.hpp:12
UserManager Service to retrieve and set session properties like sessionId and extended session inform...
Definition: ISessionService.hpp:38
virtual boolean DeleteSessionProperty(SecurityToken securityToken, const RscString< 128 > &key)=0
Deletes a named property for a Um session. Note: This method must not be called remotely via the RSC...
virtual boolean GetSessionId(SecurityToken securityToken, RscString< 128 > &sessionId)=0
Gets a sessionId (strong security Token) for a UserManager(UM) session, represented by its Ade....
virtual boolean GetSessionProperty(SecurityToken securityToken, const RscString< 128 > &key, RscString< 128 > &value)=0
Read a named property from a UserManager(UM) session. A property is extended information bound to a U...
ISessionService(void)=default
Constructs an ISessionService instance.
virtual boolean SetSessionProperty(SecurityToken securityToken, const RscString< 128 > &key, const RscString< 128 > &value)=0
Sets a named property for a Um session. A property is extended information bound to a um session iden...
virtual boolean GetSecurityTokenFromSessionId(const RscString< 128 > &sessionId, SecurityToken &securityToken)=0
Searchs for a UserManager(UM) Session identified by a StrongSecurityToken. If a valid session was fou...
virtual boolean IsSessionActive(SecurityToken securityToken)=0
Check if the um session is active or not. Note: This method must not be called remotely via the RSC-...
@ System
System components used by the System, Device, Plc or Io domains.
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API