abhiramaab opened a new pull request, #2854:
URL: https://github.com/apache/shiro/pull/2854

   ## Description
   
   Fixes Active Directory authentication when the supplied username is already 
a distinguished name (DN).
   
   The authentication path now preserves valid LDAP DNs instead of escaping 
them and appending the configured principal suffix.
   
   Normal usernames continue to use the existing `Rdn.escapeValue()` handling.
   
   ## Tests
   
   Added regression tests covering:
   
   - authentication with an existing LDAP DN
   - authentication with a regular username requiring LDAP escaping
   - LDAP authentication using the resolved username
   
   All tests pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to