|
Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
RADIUS server configuration interface. More...
Classes | |
| struct | ServerSettings |
| Server settings. More... | |
Public Types | |
| enum | AuthType { PAP , CHAP , MSCHAPv2 } |
| RADIUS auth type. More... | |
Public Member Functions | |
| vector< ServerSettings > | getRadiusServers () |
| Get a list of RADIUS server settings. More... | |
| int | setRadiusServers (in vector< ServerSettings > serverList) |
| Sets a list of RADIUS servers. More... | |
| int | testRadiusServer (in string username, in string password, in ServerSettings settings) |
| Tests an RADIUS server configuration. More... | |
RADIUS server configuration interface.
| vector< ServerSettings > auth::RadiusManager::getRadiusServers | ( | ) |
Get a list of RADIUS server settings.
| int auth::RadiusManager::setRadiusServers | ( | in vector< ServerSettings > | 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::testRadiusServer | ( | in string | username, |
| in string | password, | ||
| in ServerSettings | 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