This is an issue with your Spring Security configuration, not CAS.  Spring
Security is designed to redirect via a single URL.

There is configuration for changing where it ends up after authentication.
 Check the Spring Security documentation.


On Mon, Mar 1, 2010 at 9:32 AM, Ravish Bhagdev <[email protected]>wrote:

>
>
> ---------- Forwarded message ----------
> From: Ravi <[email protected]>
> Date: Mon, Mar 1, 2010 at 1:02 PM
> Subject: [cas-user] Unable to redirect to correct Callback URL...
> To: [email protected]
>
>
> Hi All,
>
> I have got CAS up and running, it performs authentication as expected.  But
> I am pulling my hair out trying to fix one final issue.
>
> I fire up URL of my webapp 'k-authentify' as follows:
> https://localhost:8443/k-authentify/controlservlet?cmd=test
>
> Since controlservlet is protected resource, I am redirected to CAS as for
> login as expected.  But URL looks like this:
> https://localhost:8443/cas-server-webapp-3.3.5/login?service=https://localhost:8443/k-authentify
>
> So, although I accessed protected resource (controlservelt) using URL:
> https://localhost:8443/k-authentify/controlservlet?cmd=test
>
> The ?service parameter says only upto https://localhost:8443/k-authentify!
>
> I thought it should use its Callback URL functionality to remember resource
> being asked for?
>
> I am attaching my context and web.xml files, I will appreciate
> helps/rebukes, I have been toiling for hours :(
> --
> 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-dev
>
>

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

Reply via email to