Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
Loading...
Searching...
No Matches
AuthManager.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2010 Raritan Inc. All rights reserved.
4 */
5
6/** Local and Remote Authentication Management */
7module auth {
8
9 /** Authentication type */
10 enumeration Type {
11 LOCAL, ///< local authentication
12 RADIUS, ///< authentication via radius server
13 KERBEROS, ///< authentication with kerberos tickets (not implemented)
14 TACACS_PLUS, ///< authentication via TACACS+ (not implemented)
15 LDAP, ///< authentication via LDAP server
16 CC ///< cc authentication
17 };
18
19 /** Authentication policy */
20 structure Policy {
21 auth.Type type; ///< Authentication type
22 boolean useLocalIfRemoteFailed; ///< Fall back to local authentication if remote authentication fails
23 };
24
25 /** Authentication manager interface */
26 interface AuthManager {
27
28 constant int ERR_UNSUPPORTED_TYPE = 1; ///< Unsupported authentication type
29
30 /**
31 * Gets a policy.
32 *
33 * @return a Policy object
34 */
36
37 /**
38 * Sets a policy.
39 *
40 * @return 0 on success
41 * @return 1 in case authentication type is not supported
42 */
43 int setPolicy(in Policy p);
44
45 };
46
47}
Authentication manager interface.
Policy getPolicy()
Gets a policy.
constant int ERR_UNSUPPORTED_TYPE
Unsupported authentication type.
int setPolicy(in Policy p)
Sets a policy.
Local and Remote Authentication Management.
Type
Authentication type.
@ KERBEROS
authentication with kerberos tickets (not implemented)
@ TACACS_PLUS
authentication via TACACS+ (not implemented)
@ RADIUS
authentication via radius server
@ LOCAL
local authentication
@ LDAP
authentication via LDAP server
@ CC
cc authentication
Authentication policy.
auth::Type type
Authentication type.
boolean useLocalIfRemoteFailed
Fall back to local authentication if remote authentication fails.