Represents an object that checks user permissions. More...
#include <Glacier2/Glacier2.h>
Public Member Functions | |
SSLPermissionsVerifierPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
SSLPermissionsVerifierPrx (const SSLPermissionsVerifierPrx &other) noexcept | |
Copy constructor. | |
SSLPermissionsVerifierPrx (SSLPermissionsVerifierPrx &&other) noexcept | |
Move constructor. | |
bool | authorize (const SSLInfo &info, std::string &reason, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if a user is authorized to establish a session. | |
std::future< std::tuple< bool, std::string > > | authorizeAsync (const SSLInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if a user is authorized to establish a session. | |
std::function< void()> | authorizeAsync (const SSLInfo &info, std::function< void(bool, std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if a user is authorized to establish a session. | |
SSLPermissionsVerifierPrx & | operator= (const SSLPermissionsVerifierPrx &rhs) noexcept |
Copy assignment operator. | |
SSLPermissionsVerifierPrx & | operator= (SSLPermissionsVerifierPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< SSLPermissionsVerifierPrx, Ice::ObjectPrx > | |
SSLPermissionsVerifierPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
SSLPermissionsVerifierPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
SSLPermissionsVerifierPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
SSLPermissionsVerifierPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
SSLPermissionsVerifierPrx | 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. | |
SSLPermissionsVerifierPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
SSLPermissionsVerifierPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
SSLPermissionsVerifierPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
SSLPermissionsVerifierPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
SSLPermissionsVerifierPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
SSLPermissionsVerifierPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
SSLPermissionsVerifierPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
SSLPermissionsVerifierPrx | 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. | |
SSLPermissionsVerifierPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
SSLPermissionsVerifierPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
SSLPermissionsVerifierPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
SSLPermissionsVerifierPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
SSLPermissionsVerifierPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
SSLPermissionsVerifierPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const SSLPermissionsVerifierPrx * | 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. |
Represents an object that checks user permissions.
The Glacier2 router and other services use an SSLPermissionsVerifierPrx proxy when the user is authenticated through an SSL certificate.
Definition at line 139 of file PermissionsVerifier.h.