the concept of authentification to orchestrator server and token retrieval should be redone
Hello,
The concept of authentication and token retrieval is too complicated and must be rewritten
for now, we have :
- ldap bind with user / password on the server
- restriction on a specific dsa branch
- reconstruction of full dn and adding some part or removing some part
that's way too complicated
- the function authenticateDSA and getDSAInfo should be completely redone and reamed authenticate and getInformation (maybe a better name that explains what it is doing)
We should have only one full dn that is the one used to connect to the orchestrator server.
Example : cn=orchestrator,ou=dsa,dc=test-fusiondirectory,dc=org
The account used for all operation becomes the dn mentioned into LDAP_BIND_DN
removal
ORCHESTRATOR_ACCOUNT_BRANCH="ou=dsa,dc=test-fusiondirectory,dc=org"