Erratum :
> I had to overwrite
> 'org.pac4j.mongo.credentials.authenticator.MongoAuthenticator' to the
> authentication finally works ...
>
>
> String password = context.getRequestParameter(passwordAttribute);
>
> PasswordEncoder encoder = new SpringSecurityPasswordEncoder(new
> BCryptPasswordEncoder(8, new
> SecureRandom("test".getBytes(StandardCharsets.UTF_8))));
>
> if (!encoder.matches(password, returnedPassword)) {
>
> instead of
>
> if (!getPasswordEncoder().matches(credentials.getPassword(),
> returnedPassword)) {
>
>
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d363274f-81ca-47eb-8024-df22385074ce%40apereo.org.