Another interesting thing is, if I go to another web app, get CAS authenticated, have valid CAS ticket, then I come back to my app, my app is functioning perfectly.
On 9/26/12 5:14 PM, "Qian, Yi" <[email protected]> wrote: >Thank, Marvin > >Following your advise, indeed I moved big step forward, now I see CAS >login page, but my page does not display properly. > >In the example, one of the property is service, I put >https://web.server.com:8443/myApp, but CAS cannot redirect properly, ends >up in redirect loop > >I changed property to serverName, put https://web.server.com:8443, this >time CAS, redirect me back to my app, but apparently, my app does not get >required attributes from CAS, page ends up with NPE, I am going to do some >debug, will post result back to the list > >Yi > >On 9/24/12 3:25 PM, "Marvin Addison" <[email protected]> wrote: > >>> >>><filter-class>org.springframework.web.filter.DelegatingFilterProxy</filt >>>e >>>r-class> >>> <init-param> >>> <param-name>saml1Authenticaion</param-name> >>> <param-value>authenticationFilter</param-value> >>> </init-param> >> >>The param name must be targetBeanName. >> >>> In Spring applicationContext.xml, I have >>> >>> <bean id="saml11Authentication" >>> >>>class="org.jasig.cas.client.authentication.Saml11AuthenticationFilter"/> >>> >>> <bean >>> name="authenticationFilter" >>> >>>class="org.jasig.cas.client.authentication.Saml11AuthenticationFilter" >>> p:casServerLoginUrl="https://test.server.com:8443/cas/login" >>> p:renew="false" >>> p:gateway="false" >>> p:service="https://web.server.com:8443" /> >> >>Delete the "saml11Authentication" bean and you should be a step closer. >> >>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 >> > > > >-- >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
