Login via LDAP connector in 7.1.0

136 views
Skip to first unread message

artur mis

unread,
Apr 10, 2024, 11:28:58 AM4/10/24
to CAS Community
I have got Polish   leters with diacritic  included in  password  belonging to some users. They can't log in with such lovely password. I think 6.4 wasn't affected by this problem . Have you noticed such problem or you know solution ?

Fisher, Daniel

unread,
Apr 10, 2024, 1:23:16 PM4/10/24
to cas-...@apereo.org
Can you confirm a successful bind directly against the LDAP?

—Daniel Fisher


> On Apr 10, 2024, at 4:42 AM, artur mis <artv...@gmail.com> wrote:
>
> I have got Polish leters with diacritic included in password belonging to some users. They can't log in with such lovely password. I think 6.4 wasn't affected by this problem . Have you noticed such problem or you know solution ?
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/778687dd-bd2d-4034-8493-260211d38ac0n%40apereo.org.

Patryk Sondej

unread,
Apr 21, 2024, 11:43:06 PM4/21/24
to CAS Community, Fisher, Daniel
I have same issue. Since cas 7.0


why have utf-8 usernames/passwords stopped working since cas 7.x?
Spring decodes postdata as iso8859-1 which is incorrect right now. - https://github.com/spring-projects/spring-framework/blob/ccf9ba86a035bd54acea70a5bff13ad9bb1838ba/spring-web/src/main/java/org/springframework/web/util/WebUtils.java#L188
In cas version 6.6.15 everything was fine.

In both I send `username=aść`. In logs i see:

```
docker apereo/cas:7.0.3
WHO: aść
WHAT: {credential=********ść, source=null, customFields={})]}

docker apereo/cas:6.6.15
WHO: aść
WHAT: [UsernamePasswordCredential(username=aść, source=null, customFields={})]
```

artur mis

unread,
Oct 21, 2024, 3:28:05 AM10/21/24
to CAS Community, Patryk Sondej, Fisher, Daniel
Is it sill a  problem  in new releases? , i haven't checked yet. If it is true  it can be posted as a bug .

artur mis

unread,
Oct 21, 2024, 3:28:08 AM10/21/24
to CAS Community, Fisher, Daniel
I can  confirm that Ldapsearch from command line  is working corectly.
Reply all
Reply to author
Forward
0 new messages