Hi, an easy way to do that is to enable REST support on your CAS server to be able to get a service ticket programatically and then accès your ressource giving this ST in the request.
Regards, Alexandre de Pellegrin ESSEC Business School 2011/11/15 Francisco González-Blanch <[email protected]> > Hello everyone, > > I have a service A in java that needs a resource from service B but > service B is protected by CAS authentication at web.xml level. > > I want to know what is the best way to authenticate service A in CAS in > order to obtain the service B resource via http. > > I've tried to replicate the same login sequence that a web browser does > using the java HTTPClient but without success. any ideas? > > Thanks in advance > > > -- > Francisco González-Blanch Rodríguez > Grupo Madiva > Tlf.: +34 913 00 10 44 > [email protected] > www.madiva.com > > Perfil en [image: LinkedIn] <http://es.linkedin.com/in/fgblanch/> > > -- > 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-dev > > -- 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-dev
