• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Security CAS redirection

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

So I have the following scenario for password reset.

- User accesses a web page in my website
- User is redirected to CAS for authentication
- CAS contacts other system to get user info and sees that the user needs to reset the password
- CAS authenticates the user and redirects to reset password page
- User types new password and submits. (POST request to a REST API)

At this point I want the controller to change the password and redirect the user to the original page in step one.

Any ideas how I can do this? How I can send somehow the original url into CAS and keep it until the last POST request in order to do a redirect?

Thanks,
Chris.
 
reply
    Bookmark Topic Watch Topic
  • New Topic