PLCnext API Documentation 25.0.2.69
RscServiceAuthorizator.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Services/IRscAuthorizator.hpp"
9
10namespace Arp::Base::Rsc::Commons::Services
11{
12
17class ARP_EXPORT RscServiceAuthorizator
18{
19public: // construction
20 RscServiceAuthorizator(const char* serviceProviderName, const char* serviceName, IRscAuthorizator& authorizator);
21
22public: // operations
23 void AuthorizeServiceInvocation(const char* operationName);
24
25private: // fields
26 String secureServiceName;
27 IRscAuthorizator& authorizator;
28};
29
30} // end of namespace Arp::Base::Rsc::Commons::Services
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
This interface is used to authorize a Rsc service call.
Definition: IRscAuthorizator.hpp:21
This class is used to authorize RSC service calls according security rules.
Definition: RscServiceAuthorizator.hpp:18