I'm attempting to authenticate against a JDBC data source that encodes the 
passwords with PBKDF2.

The CAS passwordEncoder settings are:

cas.authn.jdbc.query[0].passwordEncoder.type=PBKDF2
cas.authn.jdbc.query[0].passwordEncoder.encodingAlgorithm=PBKDF2WithHmacSHA1/160/128000
cas.authn.jdbc.query[0].passwordEncoder.characterEncoding=UTF-8

When I attempt to authenticate with CAS, the error in the log file is:

 [1;31m2019-05-24 16:45:00,835 ERROR 
[org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - 
<[pyvotJdbcHandler]: [Detected a Non-hex character at 5 or 6 position]> [m

The password in the database is encoded in base64 and not hex as the code 
is probably expecting.

I've been looking for a property which will convert the password from 
base64 to hex, but I'm not finding anything.  Is this possible via 
configuration?

Thanks,

Abre


-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/24e814d0-2144-4b49-a691-71a3540a3972%40apereo.org.

Reply via email to