Okay that makes sense, I'll try fixing the filter ordering and see if I can get it to work.

Thanks


On 9/28/11 12:55 PM, Marvin Addison wrote:
Problem is duplicate/ordering of filter mapping:

<filter-mapping>
<filter-name>CAS Validation Filter</filter-name>
<url-pattern>/CasProxyServlet</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>CAS Authentication Filter</filter-name>
<url-pattern>/cas/login*</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>CAS Validation Filter</filter-name>
<url-pattern>/cas/login*</url-pattern>
</filter-mapping>
The order of filter invocation is determined by filter mappings, not
filters, and you have a duplicate, which further complicates matters.
In any case you should have exactly one validation filter mapping and
it should follow the authentication filter mapping.  Putting the
validation filter _before_ authentication may explain the null
principal you're seeing.

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