You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
Hello all,
We have frontend as angular app which sends login credentials as username, password along with few other request headers that helps us to construct the right credentials to search for so we had to write an new REST endpoint which calls the service class which extends AbstractUsernamePasswordAuthenticationHandler to override authenticateUsernamePasswordInternal
rest of the flow we want it to be same as create TGT, call service url with ST and then redirect to the service url but i wondering instead of recreating the whole flow what could i logically do to hook onto existing flow for TGT and ST after AbstractUsernamePasswordAuthenticationHandler
Appreciate the help as always :) Thanks
Ray Bon
unread,
Jan 31, 2025, 10:48:29 PM1/31/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community, Ray Bon
Thank you so much Ray.
Now i am finally able to get TGT, ST and do service validation but eventually it fails with
2025-02-06T18:53:04.126+05:30 WARN 62372 --- [cas] [mcat-handler-15] cyAwareServiceTicketValidationAuthorizer : No successful authentication handlers are recorded for the authentication attempt 2025-02-06T18:53:04.153+05:30 INFO 62372 --- [cas] [mcat-handler-15] PROTOCOL_MESSAGE : ============================================================ CAS Validation Response ============================================================ <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> <cas:authenticationFailure code="INVALID_SERVICE">Ticket 'ST-1-dacL40LxkOWWh7th3nGPtCbRgLM-root310' does not match supplied service. The original service was 'https://localhost:8444/home' and the supplied service was 'https://localhost:8444/home'.</cas:authenticationFailure> </cas:serviceResponse>
Would you have pointers into what might be happening here?
Ray Bon
unread,
Feb 6, 2025, 10:13:31 PM2/6/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message