> Do you know under what conditions CAS will respond with a 302 redirect to
> the /login URL?

The only case I'm aware of is the one you implied in your post:
accessing the service manager which is itself protected by CAS (ala
Spring Security filter chain).


> does it simply take the value and set it as the Location header value?
> would it perhaps be supplying only /cas/login and the full URL is
> constructed by the servlet container?

I had to do code review, but it appears the latter.  See for yourself:

1. 
http://git.springsource.org/spring-security/spring-security/blobs/3.0.x/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java
2. 
https://source.jasig.org/cas-clients/java-client/trunk/cas-client-core/src/main/java/org/jasig/cas/client/util/CommonUtils.java

http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html#sendRedirect%28java.lang.String%29
indicates that the servlet container knows how to compute an absolute
URL from a context-relative one.

M

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