Class AccessControl

Class Documentation

class AccessControl

Public Functions

virtual ~AccessControl() = default
virtual PermissionsHandle *validate_local_permissions(Authentication &auth_plugin, const IdentityHandle &identity, const uint32_t domain_id, const RTPSParticipantAttributes &participant_attr, SecurityException &exception) = 0
virtual bool get_permissions_token(PermissionsToken **permissions_token, const PermissionsHandle &handle, SecurityException &exception) = 0
virtual bool return_permissions_token(PermissionsToken *token, SecurityException &exception) = 0
virtual bool get_permissions_credential_token(PermissionsCredentialToken **permissions_credential_token, const PermissionsHandle &handle, SecurityException &exception) = 0
virtual bool return_permissions_credential_token(PermissionsCredentialToken *token, SecurityException &exception) = 0
virtual PermissionsHandle *get_permissions_handle(SecurityException &exception) = 0
virtual bool return_permissions_handle(PermissionsHandle *permissions_handle, SecurityException &exception) = 0
virtual PermissionsHandle *validate_remote_permissions(Authentication &auth_plugin, const IdentityHandle &local_identity_handle, const PermissionsHandle &local_permissions_handle, const IdentityHandle &remote_identity_handle, const PermissionsToken &remote_permissions_token, const PermissionsCredentialToken &remote_credential_token, SecurityException &exception) = 0
virtual bool check_create_participant(const PermissionsHandle &local_handle, const uint32_t domain_id, const RTPSParticipantAttributes &qos, SecurityException &exception) = 0
virtual bool check_remote_participant(const PermissionsHandle &remote_handle, const uint32_t domain_id, const ParticipantProxyData&, SecurityException &exception) = 0
virtual bool check_create_datawriter(const PermissionsHandle &local_handle, const uint32_t domain_id, const std::string &topic_name, const std::vector<std::string> &partitions, SecurityException &exception) = 0
virtual bool check_create_datareader(const PermissionsHandle &local_handle, const uint32_t domain_id, const std::string &topic_name, const std::vector<std::string> &partitions, SecurityException &exception) = 0
virtual bool check_remote_datawriter(const PermissionsHandle &remote_handle, const uint32_t domain_id, const WriterProxyData &publication_data, SecurityException &exception) = 0
virtual bool check_remote_datareader(const PermissionsHandle &remote_handle, const uint32_t domain_id, const ReaderProxyData &subscription_data, bool &relay_only, SecurityException &exception) = 0
virtual bool get_participant_sec_attributes(const PermissionsHandle &local_handle, ParticipantSecurityAttributes &attributes, SecurityException &exception) = 0
virtual bool get_datawriter_sec_attributes(const PermissionsHandle &permissions_handle, const std::string &topic_name, const std::vector<std::string> &partitions, EndpointSecurityAttributes &attributes, SecurityException &exception) = 0
virtual bool get_datareader_sec_attributes(const PermissionsHandle &permissions_handle, const std::string &topic_name, const std::vector<std::string> &partitions, EndpointSecurityAttributes &attributes, SecurityException &exception) = 0
inline bool set_logger(Logging *logger, SecurityException&)

Protected Functions

inline const Logging *get_logger()