I believe that the JDBC password policy settings are in the database 
authentication settings:

https://apereo.github.io/cas/6.2.x/configuration/Configuration-Properties.html#database-authentication

Specifically

# cas.authn.jdbc.query[0].field-expired=
# cas.authn.jdbc.query[0].field-disabled=

Where both queries determine if an account is expired or disabled.

I am not certain, but I think you need a separate system, other than CAS, to 
expire and disable accounts in JDBC.


From: [email protected] <[email protected]> On Behalf Of Ritesh Tripathi
Sent: Sunday, September 20, 2020 12:50 PM
To: CAS Community <[email protected]>
Subject: [cas-user] Cas 6.2 - Implmentation of Custom Password Policy for JDBC 
Authentication

Hello All,

We have a requirement that "after 5 unsuccessful login attempts - we need to 
lock the account for a day for the said user."

We are having a JDBC Authentication.

We were just curious if anyone has implemented custom password policy using 
groovy scripts or some other method for requirements as above.

The CAS documentation - seems to be specific for LDAP and other cases. Was not 
able to get more information on JDBC.

https://apereo.github.io/cas/6.2.x/configuration/Configuration-Properties-Common.html#password-policy-settings

Will the groovy script method as given in above documentation link work for 
JDBC as well ? Any comments or points to implement the above type and similar 
requirements.

Best Regards
R
--
- 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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/33d653bb-392c-457e-9d4b-b86785e2b26cn%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/33d653bb-392c-457e-9d4b-b86785e2b26cn%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- 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/89e3ef10617c4723ba98e12962e919f7%40mun.ca.

Reply via email to