mediasuitenz-ldap-user-authentication
Version:
Wrapper for ActiveDirectory that gets the group for the username passed in through the x-iisnode-auth_user header
22 lines (21 loc) • 485 B
JSON
{
"url": "ldap://mediasuite.local",
"baseDN": "dc=mediasuite, dc=local",
"username": "manager@mediasuite.local",
"password": "password",
"mock": true,
"mockUsername": "mike",
"allUserGroup": "mediasuite",
"mockUserToGroup": {
"mike": "managers",
"jane": "executives",
"johnny": "officers",
"edward": "mediasuite"
},
"roles": {
"MANAGER": "managers",
"EXEC": "executives",
"OFFICER": "officers",
"READ_ONLY_STAFF": "mediasuite"
}
}