in login-webflow.xml, I tried adding this:

<view-state id="viewLoginForm" view="casLoginView" model="credentials">
    ...
        <on-entry>
            ...
            <set name='viewScope.flowExecutionUrl' value='flowExecutionUrl' />
        </on-entry>
    ...
</view-state>

No change. Is that what you meant? I also tried value='${flowExecutionUrl}' and 
got an error.

Thanks,
Eric

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jonathan 
Rosenberg
Sent: Thursday, July 25, 2013 4:01 PM
To: [email protected]
Subject: Re: [cas-user] URLs to enter the login webflow

Not sure what's going on, but it appears that flowExecutionUrl is holding an 
array or list of Strings.  Are you sure that flowExecutionUrl  works as you 
expect in a JSP?  I'm thinking maybe it only works in a web flow definition?

Try setting it in the view context before invoking the JSP:

     <set name='viewScope.flowExecutionUrl ' value=''${flowExecutionUrl} />

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/


On Thu, Jul 25, 2013 at 1:54 PM, Stein, Eric <[email protected]> wrote:
> Sorry to bump this, but my boss is getting cranky at me. :-( Does 
> anyone have any idea as to what I might try? Or where else I might ask?
>
> Eric
>
> -----Original Message-----
> From: Stein, Eric
> Sent: Wednesday, July 24, 2013 3:10 PM
> To: [email protected]
> Subject: URLs to enter the login webflow
>
> I'm trying to add a link to my CAS login page which enters the login webflow 
> using the eventId "forgotPassword". My JSP markup looks like this:
>
>                 <div class="sidebar-content">
>                     <p style="font-size:10px;"><a 
> href="${flowExecutionUrl}&_eventId=forgotPassword">Forgot Password</a></p>
>                 </div>
>
> When I try to follow the link, I'm getting the error "Application Not 
> Authorized to Use CAS". I looked at the URL that gets generated, and it looks 
> like this:
>
> https://<my_server>/cas/login?TARGET=%5BLjava.lang.String%3B%4022d1ed3
> e&_eventId=forgotPassword
>
> It seems obvious that the target is wrong. Am I doing this horribly wrong? 
> How do I get a URL that enters the webflow?
>
> Thanks,
> Eric Stein
>
>
> --
> 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

-- 
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

Reply via email to