"/authazws/AuthRestService" fails to authenticate any users
We have Access Gateway (SPS) deployed in our environments with "authazws" enabled. Basically we use its "/authazws/AuthRestService/login" and "/authazws/AuthRestService/authz" RESTful services through our in-house-built Security API.
Calling "/authazws/AuthRestService/login" to the new SPS always had "LOGIN_FAILED" result even though the same request being sent to the existing SPS was authenticated OK.
The same user in Policy Server Test Tool was tested authentication OK.
[ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (uid=)
User 'unknown' is not authenticated by Policy Server.
LogMessage:ERROR:[sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (uid=)
Header SM_USERDN : Header SM_USER :
SSO 12.8 - Policy Server and Access Gateway.
Windows Server 2016
Customer was using the following xml to log in
<loginRequest> <binaryCreds></binaryCreds> <userName>USERNAME</userName> <password>PASSWORD</password> <action>GET</action> </loginRequest>