|
Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
TACACS+ server configuration interface. More...
Classes | |
| struct | ServerSettings |
| Server settings. More... | |
Public Types | |
| enum | AuthenType { ASCII , PAP , CHAP , MSCHAP } |
| TACACS+ authentication type. More... | |
Public Member Functions | |
| vector< ServerSettings > | getTacPlusServers () |
| Get a list of TACACS+ server settings. More... | |
| int | setTacPlusServers (in vector< ServerSettings > serverList) |
| Sets a list of TACACS+ servers. More... | |
| int | testTacPlusServer (in string username, in string password, in ServerSettings settings) |
| Tests an TACACS+ server configuration. More... | |
TACACS+ server configuration interface.
| vector< ServerSettings > auth::TacPlusManager::getTacPlusServers | ( | ) |
Get a list of TACACS+ server settings.
| int auth::TacPlusManager::setTacPlusServers | ( | in vector< ServerSettings > | serverList | ) |
Sets a list of TACACS+ servers.
Any existing TACACS+ Server configuration will be cleared / overwritten.
ERR_INVALID_CFG in case of invalid configuration | int auth::TacPlusManager::testTacPlusServer | ( | in string | username, |
| in string | password, | ||
| in ServerSettings | settings | ||
| ) |
Tests an TACACS+ server configuration.
ERR_SERVER_UNSPECIFIED an unspecified error occurred ERR_INVALID_CFG server configuration is invalid (reused from setTacPlusServers) ERR_INVALID_SHARED_SECRET the shared secret is invalid ERR_SERVER_UNREACHABLE TACACS+ 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