Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On this page:

Get a list of added LDAP directories

{
    "method":"AxxonSoft.bl.security.SecurityService.ListConfig",
    "data":{
    }
}

Response example:

"ldap_servers": [
    {
        "index": "6b5769e8-1322-4666-9567-14d129a8548a",
        "server_name": "qa.test",
        "friendly_name": "QA.TEST",
        "port": 389,
        "base_dn": "ou=LOAD,dc=qa,dc=test",
        "login": "cn=Tester QA-T. Tester,ou=LOAD,dc=qa,dc=test",
        "password": "Zz123456",
        "use_ssl": false,
        "search_filter": "(objectClass=person)",
        "login_attribute": "cn",
        "dn_attribute": "distinguishedname",
        "roles_assignments_for_new_users": [
            "00000000-0000-0000-0000-000000000000"
        ]
    },
    {
        "index": "d3231030-b7ce-4435-af85-ded1eb9b4622",
        "server_name": "192.168.33.80",
        "friendly_name": "ldap",
        "port": 389,
        "base_dn": "ou=Address,dc=axxonsoft,dc=us",
        "login": "cn=admin,dc=Axxondomain,dc=com",
        "password": "jwxWWf4f",
        "use_ssl": false,
        "search_filter": "(objectClass=person)",
        "login_attribute": "cn",
        "dn_attribute": "entrydn",
        "roles_assignments_for_new_users": [
            "00000000-0000-0000-0000-000000000000"
        ]
    }
],


Add a LDAP directory

{
    "method": "AxxonSoft.bl.security.SecurityService.ChangeConfig",
    "data": {
        "added_ldap_servers": {
            "index": "d3231030-b7ce-4435-af85-ded1eb9b4622",
            "server_name": "192.168.33.80",
            "friendly_name": "ldap",
            "port": 389,
            "base_dn": "ou=Address,dc=axxonsoft,dc=us",
            "login": "cn=admin,dc=Axxondomain,dc=com",
            "password": "jwxWWf4f",
            "use_ssl": false,
            "search_filter": "(objectClass=person)",
            "login_attribute": "cn",
            "dn_attribute": "entrydn",
            "roles_assignments_for_new_users": [
                "00000000-0000-0000-0000-000000000000"
            ]
        }
    }

Edit a LDAP directory

{
    "method": "AxxonSoft.bl.security.SecurityService.ChangeConfig",
    "data": {
        "modified_ldap_servers": [
            {
                "index": "d3231030-b7ce-4435-af85-ded1eb9b4622",
                "server_name": "192.168.33.80",
                "friendly_name": "ldap",
                "port": 636,
                "base_dn": "ou=Address,dc=axxonsoft,dc=us",
                "login": "cn=admin,dc=Axxondomain,dc=com",
                "password": "jwxWWf4f",
                "use_ssl": true,
                "search_filter": "(objectClass=person)",
                "login_attribute": "cn",
                "dn_attribute": "entrydn",
                "roles_assignments_for_new_users": [
                    "d4451805-13f2-4414-b0c5-6ae9f081e3e1"
                ]
            }
        ]
    }
}

Remove a LDAP directory

{
    "method": "AxxonSoft.bl.security.SecurityService.ChangeConfig",
    "data": {
        "removed_ldap_servers": ["d3231030-b7ce-4435-af85-ded1eb9b4622"]
    }
}

Get a list of LDAP directory users

Attention!

LDAP directory must be available.


{
    "method": "AxxonSoft.bl.security.SecurityService.SearchLDAP",
    "data": {
        "ldap_server_id": "6b5769e8-1322-4666-9567-14d129a8548a"
    }
}

Response example:

{
    "entries": [
        {
            "login": "User1",
            "dn": "CN=User1,OU=LOAD,DC=qa,DC=test"
        },
        {
            "login": "User2",
            "dn": "CN=User2,OU=LOAD,DC=qa,DC=test"
        },
        {
            "login": "User3",
            "dn": "CN=User3,OU=LOAD,DC=qa,DC=test"
        },
        {
            "login": "User4",
            "dn": "User4,OU=LOAD,DC=qa,DC=test"
        },
        {
            "login": "User5",
            "dn": "User5,OU=LOAD,DC=qa,DC=test"
        }
    ]
}
  • No labels