Ice
3.9
Slice API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
IceGrid
UserAccountMapper.ice
1
// Copyright (c) ZeroC, Inc.
2
3
#pragma once
4
5
[[
"cpp:dll-export:ICEGRID_API"
]]
6
[[
"cpp:doxygen:include:IceGrid/IceGrid.h"
]]
7
[[
"cpp:header-ext:h"
]]
8
9
[[
"cpp:include:IceGrid/Config.h"
]]
10
11
[[
"js:module:@zeroc/ice"
]]
12
13
[
"java:identifier:com.zeroc.IceGrid"
]
14
module
IceGrid
15
{
16
/// The exception that is thrown when a user account for a given session identifier can't be found.
17
exception
UserAccountNotFoundException
18
{
19
}
20
21
/// Maps user strings in server descriptors to actual user account names. You can configure the user account mapper
22
/// of an IceGrid node with the property `IceGrid.Node.UserAccountMapper`.
23
interface
UserAccountMapper
24
{
25
/// Gets the name of the user account for the given user. This is used by IceGrid nodes to figure out the user
26
/// account to use to run servers.
27
/// @param user The value of the server descriptor's `user` attribute. When this attribute is not defined, and
28
/// the server's activation mode is `session`, the default value for `user` is the session identifier.
29
/// @return The user account name.
30
/// @throws UserAccountNotFoundException Thrown when no user account is found for the given user.
31
string
getUserAccount
(
string
user)
32
throws
UserAccountNotFoundException
;
33
}
34
}
IceGrid::UserAccountNotFoundException
The exception that is thrown when a user account for a given session identifier can't be found.
Definition
UserAccountMapper.ice:18
IceGrid::UserAccountMapper::getUserAccount
string getUserAccount(string user)
Gets the name of the user account for the given user.
IceGrid::UserAccountMapper
Maps user strings in server descriptors to actual user account names.
Definition
UserAccountMapper.ice:24
IceGrid
Deploy and manage Ice servers.
Definition
Admin.ice:21
Generated by
1.17.0