简体   繁体   中英

CAS -Apereo Jasig: How to redirect to a custom web page after a successful login?

I am new to Spring and I am utilizing Jasig-CAS 4.1.4 in my spring (4.3.0) project. The project is modularized one and I have implemented the CAS as another module. I have copied the original cas view and modified it goes with the project. So, I have set the CAS login page after modifying jsp views and set it as admin module's login page. I have configured the primary authentication by using jdbc.QueryDatabaseAuthenticationHandler and it works very well. So, I need to redirect to the admin's home page when the login is succeeded. But I have no idea how to do it or where to do it.

Will anybody be able to help me with this? (PS I tried some things with login-webflow.xml. but didn't work it out.)

/cas/login?service=where-you-want-to-go

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM