Maps user strings in server descriptors to actual user account names. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
UserAccountMapperPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
UserAccountMapperPrx (const UserAccountMapperPrx &other) noexcept | |
Copy constructor. | |
UserAccountMapperPrx (UserAccountMapperPrx &&other) noexcept | |
Move constructor. | |
std::string | getUserAccount (std::string_view user, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the name of the user account for the given user. | |
std::future< std::string > | getUserAccountAsync (std::string_view user, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the name of the user account for the given user. | |
std::function< void()> | getUserAccountAsync (std::string_view user, std::function< void(std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the name of the user account for the given user. | |
UserAccountMapperPrx & | operator= (const UserAccountMapperPrx &rhs) noexcept |
Copy assignment operator. | |
UserAccountMapperPrx & | operator= (UserAccountMapperPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< UserAccountMapperPrx, Ice::ObjectPrx > | |
UserAccountMapperPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
UserAccountMapperPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
UserAccountMapperPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
UserAccountMapperPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
UserAccountMapperPrx | ice_compress (bool b) const |
Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. | |
UserAccountMapperPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
UserAccountMapperPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
UserAccountMapperPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
UserAccountMapperPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
UserAccountMapperPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
UserAccountMapperPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
UserAccountMapperPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
UserAccountMapperPrx | ice_fixed (ConnectionPtr connection) const |
Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection. | |
UserAccountMapperPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
UserAccountMapperPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
UserAccountMapperPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
UserAccountMapperPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
UserAccountMapperPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
UserAccountMapperPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const UserAccountMapperPrx * | operator-> () const noexcept |
The arrow operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice interface. |
Maps user strings in server descriptors to actual user account names.
You can configure the user account mapper of an IceGrid node with the property IceGrid.Node.UserAccountMapper.
Definition at line 40 of file UserAccountMapper.h.