Encrypted database password in jdbc authn

33 views
Skip to first unread message

Soumya Tripathy

unread,
Jun 6, 2017, 1:58:55 PM6/6/17
to CAS Community
Hi,
Can we configure cas to use custom encryption for database password as well?

I want to use cas.authn.jdbc.query[0].password=$EncryptedSecret$ instead of cas.authn.jdbc.query[0].password=PlainSecret.



Uxío Prego

unread,
Jun 6, 2017, 2:13:33 PM6/6/17
to CAS Community
Did not
cas.authn.jdbc.query[0].passwordEncoder.type=com.example.CustomPasswordEncoder
(https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html#query-database-authentication)
suit your mileage?
> --
> - 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 cas-user+u...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c7fda9b6-2dd0-48b0-ae66-2ed9fb0793cf%40apereo.org.

Soumya Tripathy

unread,
Jun 6, 2017, 11:12:08 PM6/6/17
to CAS Community
As per the document this custom password encoder will only encode the user credentials password. But I want to decrypt the jdbc database connection password, which can be use the same encryption logic.
Reply all
Reply to author
Forward
0 new messages