If you want to call a backend service, your Java application should obtain a proxy ticket and then send that ticket as part of the request to the backend service. If you've properly protected a service then passing it a ticket should not cause a redirect.
Cheers, Scott On Thu, Jun 4, 2009 at 5:39 PM, Spruit, Richard <[email protected]>wrote: > After logging in to an (java) application, I need to call a backend > service. But after a http 302 redirect, I always get the login-page > 'returned' from the service call. > > My idea is that somehow I am not adding the session id correctly to the > request to the backend-service, so CAS thinks the request comes from a new > user which is not logged in yet. Despite extensive googling, I can't seem to > get this correct. Is there someone who is willing to share a code example of > a (http) request which should be 'in' the session of the java application > where it originated? This java application itself is also casified. > > Thanks in advance! > > Richard > > > > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei die Umwelt zu schuetzen / Por favor ajude a Logica a > respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > > > -- > 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
