Set BSPComplian on WSHandler

Setting bspCompliant = false has effect only for first request, setting
it on the handler fixes this.

Issue: SWS-828
This commit is contained in:
Arjen Poutsma
2013-04-12 11:53:22 +02:00
parent 8ab2c0be0c
commit 51d615f310

View File

@@ -466,6 +466,7 @@ public class Wss4jSecurityInterceptor extends AbstractWsSecurityInterceptor impl
* Set the WS-I Basic Security Profile compliance mode. Default is {@code true}.
*/
public void setBspCompliant(boolean bspCompliant) {
this.handler.setOption(WSHandlerConstants.IS_BSP_COMPLIANT, true);
this.bspCompliant = bspCompliant;
}