Hi Dean,
I am pretty much in the same situation as you, and I did manage to implement
multiple login views based on which application or what server the user is
hitting. What I did was, I created several different brands of login views,
then rewrite casLoginView.jsp something like follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~
<%@ page contentType="text/html; charset=UTF-8" %>
<%
String brand = request.getParameter( "service" );
if( brand != null && !brand.equals( "" ) )
{
if( brand.contains( "Yakima" ) )
pageContext.forward("casLoginViewYakima.jsp");
else if ( brand.contains( "Columbia" ) )
pageContext.forward("casLoginViewColumbia.jsp");
else if ( brand.contains( "CountyView" ) )
pageContext.forward("casLoginViewCountyViewWeb.jsp");
else pageContext.forward("casLoginView_default.jsp");
}
%>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That way you can give user different login view while behind the scene
everthing remains the same.
Hope that helps.
Regards,
Xuejin
deanhe01 wrote:
>
> Out of curiosity, what is the reason you recommend against multiple login
> flows. My main arguement against it is maintainability but I would like
> to know your thoughts on it
>
> Dean
>
>
> scott_battaglia wrote:
>>
>> We don't really recommend multiple login flows, and I've never actually
>> tried it. You'd have to look at the Spring Web Flow 1.0 documentation to
>> see how to configure multiple flows.
>>
>> Cheers,
>> Scott
>>
>>
>> On Tue, Jul 21, 2009 at 11:52 AM, deanhe01
>> <[email protected]>wrote:
>>
>>>
>>> First of all,
>>>
>>> Thank you Scott, Marvin,Andrew,Bruno et. al. for putting up with noob
>>> questions and patiently guiding me through the CAS universe. I now have
>>> a
>>> CAS solution set up that proxies successfuly, supplies user roles from
>>> several different sources, and soon, will have a Kerberos solution to
>>> replace the NTLM currently used.
>>>
>>> My question relates to a reply Scott made regarding multiple login forms
>>>
>>> Specificially(noob question) are there any samples of how to set up
>>> multiple
>>> instances of a login flow?
>>>
>>> I have multiple applications that I will be "Cassifying" All of our
>>> users
>>> resist change and want their login pages to look like they do now so I
>>> am
>>> assuming multiple instances of the login flow that present a different
>>> view
>>> is the way to go.
>>>
>>> Thanks again
>>>
>>> Dean
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Wanted-to-say-thanks-and-ask-Yet-Another-Question-tp24590403p24590403.html
>>> Sent from the CAS Users mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>
>
--
View this message in context:
http://www.nabble.com/Wanted-to-say-thanks-and-ask-Yet-Another-Question-tp24590403p24611270.html
Sent from the CAS Users mailing list archive at Nabble.com.
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user