Libor Krzyžanek [https://community.jboss.org/people/lkrzyzanek] replied to the discussion
"WS access behind SSO" To view the discussion, visit: https://community.jboss.org/message/831636#831636 -------------------------------------------------------------- So the situation is an application deployed on JBoss 5.1.0.GA (running on JDK6) needs to make a call to a WebService that is deployed behind an SSO layer. Not so big a deal(I thought). I managed to get the certificates and aliases configured to do the SSL negotiation but then started getting the following: java.net.HttpRetryException: cannot retry due to redirection, in streaming mode at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2337) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1556) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at org.jboss.remoting.transport.http.HTTPClientInvoker.getResponseCode(HTTPClientInvoker.java:1238) at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:339) at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231) The problem is that the SSO layer uses a redirect to accomlish authentication which does not lend itself to using URL.openStream() I know how to code the http handling so that the redirect is followed and the correct stream is obtained what I don't know is how to get JBossWS to use custom code for this. Thanks in advance, Chalrie -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/831636#831636] Start a new discussion in JBoss Web Services at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user