Raritan PX2/PX3 JSON-RPC API
|
RADIUS server configuration interface. More...
import"RadiusManager.idl";
Public Member Functions | |
vector< radius::ServerSettings_2_0_0 > | getRadiusServers () |
Get a list of RADIUS server settings. More... | |
int | setRadiusServers (in vector< radius::ServerSettings_2_0_0 > serverList) |
Sets a list of RADIUS servers. More... | |
int | testRadiusServer (in string username, in string password, in radius::ServerSettings_2_0_0 settings) |
Tests an RADIUS server configuration. More... | |
Public Attributes | |
constant int | ERR_INVALID_CFG = 1 |
The server configuration is invalid. | |
constant int | ERR_SERVER_UNSPECIFIED = 2 |
Unspecified error. | |
constant int | ERR_INVALID_SHARED_SECRET = 3 |
The shared secret is invalid. | |
constant int | ERR_SERVER_UNREACHABLE = 4 |
RADIUS server could not be contacted. | |
constant int | ERR_AUTHENTICATION_FAILED = 5 |
User could not be authenticated. | |
constant int | ERR_NO_ROLES = 6 |
No roles are defined for the user. | |
constant int | ERR_NO_KNOWN_ROLES = 7 |
No known rules are defined for the user. | |
RADIUS server configuration interface.
vector<radius::ServerSettings_2_0_0> auth::RadiusManager_2_0_0::getRadiusServers | ( | ) |
Get a list of RADIUS server settings.
int auth::RadiusManager_2_0_0::setRadiusServers | ( | in vector< radius::ServerSettings_2_0_0 > | serverList | ) |
Sets a list of RADIUS servers.
Any existing RADIUS Server configuration will be cleared / overwritten.
ERR_INVALID_CFG
in case of invalid configuration int auth::RadiusManager_2_0_0::testRadiusServer | ( | in string | username, |
in string | password, | ||
in radius::ServerSettings_2_0_0 | settings | ||
) |
Tests an RADIUS server configuration.
ERR_SERVER_UNSPECIFIED
an unspecified error occurred ERR_INVALID_CFG
RADIUS server configuration is invalid (reused from setRadiusServers) ERR_INVALID_SHARED_SECRET
the shared secret is invalid ERR_SERVER_UNREACHABLE
RADIUS server could not be contacted ERR_AUTHENTICATION_FAILED
user could not be authenticated ERR_NO_ROLES
no roles are defined for the user ERR_NO_KNOWN_ROLES
no known roles are defined for the user