Hello Yauhen,
As far as i know you cannot read the UserName and Password that you pass in Authentication Header for a particular user inside DPC and return information based on it . Because this Authentication Header is used to check if user has access to the system from which he/she would like to get data.
But your scenario is different from the above is what i could understand.
You have few registered users and would like to return info based on User and Password.
Is it really necessary to pass Password along with User in your scenario ? only passing user will not do ? Since Users are already registered , you just have to get users and pass info for that particular user correct ?
Passing Password in URL is not correct i feel.
If at all you are sending one user at a time to validate and return single entry, then you can implement Get_Entity ( Read ) . Pass User Name as Key and get info.
If you have many users to validate at a time and return single entry for each of them, then u can operate on BATCH mode for Read Operation.
Regards,
Ashwin