Password Management

If authentication fails due to a rejected password policy, CAS is able to intercept that request and allow the user to update the account password in place. The password management features of CAS are rather modest, and alternatively should the functionality provide inadequate for your policy, you may always redirect CAS to use a separate and standalone application that is fully in charge of managing the account password and associated flows.

CAS may also allow users to reset their passwords voluntarily. Those who have forgotten their account password may receive a secure link with a time-based expiration policy at their registered email address and/or phone. The link will allow the user to provide answers to his/her pre-defined security questions, which if successfully done, will allow the user to next reset their password and login again. You may also specify a pattern for accepted passwords.

By default, after a user has successfully changed their password they will be redirected to the login screen to enter their new password and log in. CAS can also be configured to automatically log the user in after a successful change. This behavior can be altered via CAS settings.

To learn more about available notification options, please see this guide or this guide. To see the relevant list of CAS properties, please review this guide.

JSON

Accounts and password may be stored inside a static modest JSON resource. This option is most useful during development and for demo purposes. To learn more, please see this guide.

Groovy

Accounts and password may be handled and calculated via a Groovy script. To learn more, please see this guide.

LDAP

The account password and security questions may be stored inside an LDAP server. To learn more, please see this guide.

JDBC

The account password and security questions may be stored inside a relational database. To learn more, please see this guide.

REST

The account password and security questions can also be managed using a REST API. To learn more please see this guide.

Custom

To design your own password management storage options and strategy, please see this guide.