更新时间:2021-11-08 07:11:33
仅当拦截器的动作中包含WSHandlerConstants.ENCRYPT
动作时,才应用此设置.
This setting is only applied if the WSHandlerConstants.ENCRYPT
action is included in the actions for the interceptor.
例如:
Map<String, Object> inProps = new HashMap<>();
inProps.put(WSHandlerConstants.ALLOW_RSA15_KEY_TRANSPORT_ALGORITHM, "true");
inProps.put(WSHandlerConstants.ACTION,
WSHandlerConstants.ENCRYPT + " " +
WSHandlerConstants.SIGNATURE);
WSS4JInInterceptor wss4JInInterceptor = new WSS4JInInterceptor(inProps);