| Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
    | 
LDAP server configuration interface. More...
| Classes | |
| struct | ServerSettings | 
| Server settings.  More... | |
| Public Types | |
| enum | ServerType { ACTIVE_DIRECTORY , OPEN_LDAP } | 
| LDAP server type.  More... | |
| enum | SecurityProtocol { SEC_PROTO_NONE , SEC_PROTO_SSL , SEC_PROTO_STARTTLS } | 
| LDAP server type.  More... | |
| Public Member Functions | |
| vector< ServerSettings > | getLdapServers () | 
| Get a list of LDAP server settings.  More... | |
| int | setLdapServers (in vector< ServerSettings > serverList) | 
| Sets a list of LDAP servers.  More... | |
| int | testLdapServer (in string username, in string password, in ServerSettings settings, out string diagMsg) | 
| Tests an LDAP server configuration.  More... | |
LDAP server configuration interface.
| vector< ServerSettings > auth::LdapManager::getLdapServers | ( | ) | 
Get a list of LDAP server settings.
| int auth::LdapManager::setLdapServers | ( | in vector< ServerSettings > | serverList | ) | 
Sets a list of LDAP servers.
Any existing LDAP Server configuration will be cleared / overwritten.
ERR_CYCLIC_DEP in case of cyclic dependency ERR_INVALID_CFG in case of invalid configuration | int auth::LdapManager::testLdapServer | ( | in string | username, | 
| in string | password, | ||
| in ServerSettings | settings, | ||
| out string | diagMsg | ||
| ) | 
Tests an LDAP server configuration.
ERR_SERVER_UNSPECIFIED an unspecified error occurred ERR_INVALID_CFG LDAP server configuration is invalid (reused from setLdapServers) ERR_SERVER_UNREACHABLE LDAP 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