Dynamic error message to login page

13 views
Skip to first unread message

Ansuman Nayak

unread,
Feb 25, 2022, 2:46:54 AM2/25/22
to CAS Community
Hi all,

Can any one please help me with a solution for below.

I am using AbstractUsernamePasswordAuthenticationHandler(custom authentication handler) to  authenticate the request. In the method i do a api call for validating the username and password. 

Now i want to send a custom dynamic error message to the UI or login page in case of failure. Rather that using the static one from message.properties.

Thanks in Advance.
Reply all
Reply to author
Forward
0 new messages