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:* [email protected] <javascript:> [mailto:[email protected] > <javascript:>] *On Behalf Of *Artur Stöcklin > *Sent:* Monday, January 18, 2016 8:39 AM > *To:* CAS Community <[email protected] <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 [email protected] <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 [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
