Well, the login endpoint is the CAS login endpoint. You should already know that. The service, you can get from the Webflow. I think it’s stored into the flowScope as “service”. If you examine the other JSPs, you’ll see it referenced in some areas. If you have got a login endpoint per tier, then you have to do some fancy flow work to get that url into the JSP.
From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Artur Stöcklin Sent: Monday, January 18, 2016 12:08 PM To: CAS Community <cas-user@apereo.org> Cc: mmoay...@unicon.net Subject: Re: [cas-user] Redirect to Service Dependent Login Page Thank you Misagh. How do I get/append the service parameter to de login endpoint? Can I ask the spring webflow framework to get the right login endpoint the user came from? Can you perhaps provide a short example? thank you Am Montag, 18. Januar 2016 18:09:45 UTC+1 schrieb Misagh Moayyed: As long as your redirect url has the correct service parameter appended to the login endpoint, CAS will detect the associated theme and will render the relevant view. From: cas-...@apereo.org <javascript:> [mailto:cas-...@apereo.org <javascript:> ] On Behalf Of Artur Stöcklin Sent: Monday, January 18, 2016 8:39 AM To: CAS Community <cas-...@apereo.org <javascript:> > Subject: [cas-user] Redirect to Service Dependent Login Page Hello Team We are using CAS 4.1.1 with Service Management. We have definied two Services, are using the RegisteredServiceThemeBasedViewResolver and are currently facing the following problem: 1. We have 2 CAS Clients with a set of views for each of them. Also the casLoginView.jsp is different for every CAS Client. 2. User coming from CAS Client 1 receives the login page and enters his login credentials 3. The responsible Handler throws let's say "AccountLockedException". 4. CAS redirects to defined accountLockedView.jsp 5. Now we want to display a button with the redirect URL to the CORRECT casLoginView, depending on the primary CAS Client the user came from. The main question is here how to identify the correct casLoginView and render the proper URL for redirecting to login page... Thanks in advance for any help. Regar -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org <javascript:> . Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org <mailto:cas-user+unsubscr...@apereo.org> . Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.