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"
15 namespace Arp {
namespace System {
namespace Um {
namespace Services
31 using Ptr = std::shared_ptr<ISessionService>;
38 static IRscServiceProxyFactory& GetProxyFactory(
void);
104 inline IRscServiceProxyFactory& ISessionService::GetProxyFactory()
106 return SessionServiceProxyFactory::GetInstance();
Base interface for all Rsc service interface.
Definition: IRscService.hpp:19
Contains a static string with string lentgh up to N characters. The string has to be null terminated.
Definition: RscString.hxx:21
Definition: SecurityToken.hpp:12
UserManager Service to retrieve and set session properties like sessionId and extended session inform...
Definition: ISessionService.hpp:29
virtual boolean DeleteSessionProperty(SecurityToken securityToken, const RscString< 128 > &key)=0
Deletes a named property for a Um session.
virtual boolean GetSessionId(SecurityToken securityToken, RscString< 128 > &sessionId)=0
Gets a sessionId (strong security Token) for a Um session.
virtual boolean GetSessionProperty(SecurityToken securityToken, const RscString< 128 > &key, RscString< 128 > &value)=0
Read a named property from a Um session. A property is extended information bound to a um session ide...
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 Um Session identified by a StrongSecurityToken. If a valid session was found the Um sec...
virtual boolean IsSessionActive(SecurityToken securityToken)=0
Check if the um session is active or not.
@ System
System components used by the System, Device, Plc or Io domains.
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:10
Root namespace for the PLCnext API