MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Authorizer.h
Go to the documentation of this file.
1 #pragma once
2 /***********************************************************************
3  The IEEE hereby grants a general, royalty-free license to copy, distribute,
4  display and make derivative works from this material, for all purposes,
5  provided that any use of the material contains the following
6  attribution: "Reprinted with permission from IEEE 1516.1(TM)-2025".
7  Should you require additional information, contact the Manager, Standards
8  Intellectual Property, IEEE Standards Association (stds-ipr@ieee.org).
9 ***********************************************************************/
10 
11 // The classes associated with authorization allow a federation to provide their
12 // own implementation of authorization. The federation is responsible to inherit
13 // from the abstract classes declared below.
14 
15 #include <RTI/SpecificConfig.h>
18 #include <string>
19 
20 namespace rti1516_2025
21 {
22  class Credentials;
23 
25  {
26  public:
27  virtual ~Authorizer() noexcept = default;
28 
29  // Called to authorize the connect service call
30  virtual AuthorizationResult authorizeRtiOperation (
31  Credentials const & credentials) = 0;
32 
33  // Called to authorize the create and destroy federation service calls
34  virtual AuthorizationResult authorizeFederationOperation (
35  Credentials const & credentials,
36  std::wstring const & federationName) = 0;
37 
38  // Called to authorize the join federation service call
39  virtual AuthorizationResult authorizeFederateOperation (
40  Credentials const & credentials,
41  std::wstring const & federationName,
42  std::wstring const & federateName,
43  std::wstring const & federateType) = 0;
44 
45  // Return the name of the authorizer implementation
46  virtual std::wstring getName () const = 0;
47  };
48 }
49 
50 
#define RTI_EXPORT
Definition: SpecificConfig.h:45
Definition: Authorizer.h:24
Definition: Credentials.h:17
Definition: AuthorizationResult.h:16
This file contains definitions that are used to isolate platform-specific elements of the API...

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)