It sounds like you want proxy authentication. I'd take a look at that.
On Wed, Jun 30, 2010 at 9:08 AM, magiccreative <[email protected]> wrote: > Greetings, > > We are trying out CAS now on test system. The normal situation where a > user opens a page and gets to SSO login screen functions well. > > Now I have another use case. I would like to be able to make URLConnection > and get a resource on server. In order to do this I need to be logged in. Is > it possible with Java to implement automated login into CAS. According to > the information I found this is done with Trusted Authentication Handler. > The calling application on one server already has the user logged in, now I > would like to call another server and automatically have a SSO ticket for > this user on the second server. > > I have followed the documentation and configured > https://wiki.jasig.org/display/CASUM/Trusted. > > But now what do I need to change in my authenticate method and more > importantly how can I call this handler on the second server and pass it the > User login information? > > 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 > -- 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
