I'll take a guess, but to be sure, you would probably need to set a breakpoint in the DefaultLdapRealm class.
The default character encoding defined in the servlet spec is ISO-8859-1, any password form you have may need to explicitly set the character set: https://stackoverflow.com/questions/708915/detecting-the-character-encoding-of-an-http-post-request Keep us posted! -Brian On Tue, Oct 25, 2022 at 12:26 PM David Bonnafous <[email protected]> wrote: > > hi, > > I can't figure out how to configure (use) Apache Shiro to handle password > containing UTF-8 char ? (exemple ®, £,...) > > Use case: I change the LDAP password with one containing UTF-8 char (using > DirectoryStudio or ldappasswd) then I can bind using ldapsearch but I can't > authenticate using my app with Shiro. But it's working with an ASCII password > ! > > Thank you. > > -- > David Bonnafous > Toulouse, France
