users@jersey.java.net

[Jersey] Redirect from client filter

From: <gang.yang.ctr_at_mail.mil>
Date: Tue, 14 Aug 2012 15:59:39 +0000 (GMT)

Hi,

I'm trying to enable SAML2-based SSO for REST WS. The current SAML2-SSO
I have uses POST profile. So I need to be able to redirect the HTML
POST Form-based response from the IdP back to the SP at Jercey client.
In other words, I need to be able to simulate a brower to handle the
HTML POST Form that contains the SAML response and automatically submit
the Form to its action URL. Since Jercey client can only do the HTTP
redirect automatically, I'm thinking to use the client filter. But I
don't see the ClientFilter class provide redirect capabilitt. Is there
a way to do what I like to do here in Jercey client?

Thanks,
Gang