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
