Hi all, I am trying to run validation test with "helloworld". This helloworld comes built-in when I install Tomcat, and is located at /webapps/examples/servlets.
When I add appropriate filters in web.xml of that helloworld "application", and when I type the following url, I am taken to cas login screen. https://my.test.server.url/examples/servlets/servlet/HelloWorldExample After successful authentication, "Hello World!" is displayed. I need to rewrite the above url as follows: https://my.test.server.url/cas/login?service=foo *****What would be the foo part? <<-- This is my main question. I tried: https://my.test.server.url/cas/login?service=examples/servlets/servlet/HelloWorldExample, but failed. (error message: the application is not authorized to use cas)(approx. translation) Server logs say: WARN [org.jasig.cas.CentralAuthenticationServiceImpl] - <ServiceManagement: Unauthorized Service Access. Service [servlets/servlet/HelloWorldExample] not found in Service Registry.> ================================ WHO: testUser WHAT: servlets/servlet/HelloWorldExample ACTION: SERVICE_TICKET_NOT_CREATED APPLICATION: CAS ================================ I want to run these steps: (from https://wiki.jasig.org/display/CAS/CAS+Functional+Tests) 1. visit /login?service=foo 2. enter correct credentials 3. you should be redirected to foo with a valid service ticket 4. visit /serviceValidate?service=foo&ticket=[ticket from Step 3] Please help. Thanks. -- 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
