Ice 3.7 Slice API Reference
Loading...
Searching...
No Matches
PermissionsVerifier.ice
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4
5#pragma once
6
7[["cpp:dll-export:GLACIER2_API"]]
8[["cpp:doxygen:include:Glacier2/Glacier2.h"]]
9[["cpp:header-ext:h"]]
10[["cpp:include:Glacier2/Config.h"]]
11
12[["js:module:ice"]]
13[["js:cjs-module"]]
14
15[["objc:dll-export:GLACIER2_API"]]
16[["objc:header-dir:objc"]]
17
18[["python:pkgdir:Glacier2"]]
19
20#include <Glacier2/SSLInfo.ice>
21
22#ifndef __SLICE2JAVA_COMPAT__
23[["java:package:com.zeroc"]]
24#endif
25
26["objc:prefix:GLACIER2"]
28{
29
36["preserve-slice"]
38{
44 string reason;
45}
46
56{
74 ["nonmutating", "cpp:const", "format:sliced"]
75 idempotent bool checkPermissions(string userId, string password, out string reason)
77}
78
88{
106 ["nonmutating", "cpp:const", "format:sliced"]
107 idempotent bool authorize(SSLInfo info, out string reason)
109}
110
111}
This exception is raised if a client is denied the ability to create a session with the router.
Definition PermissionsVerifier.ice:38
string reason
The reason why permission was denied.
Definition PermissionsVerifier.ice:44
The Glacier2 permissions verifier.
Definition PermissionsVerifier.ice:56
idempotent bool checkPermissions(string userId, string password, out string reason)
Check whether a user has permission to access the router.
The SSL Glacier2 permissions verifier.
Definition PermissionsVerifier.ice:88
idempotent bool authorize(SSLInfo info, out string reason)
Check whether a user has permission to access the router.
Glacier2 is a firewall solution for Ice.
Definition PermissionsVerifier.ice:28
Information taken from an SSL connection used for permissions verification.
Definition SSLInfo.ice:39