com.sun.xml.wss.provider.wsit.ClientPipeCreator Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.wss.provider.wsit;
import java.util.HashMap;
import com.sun.xml.ws.api.pipe.Pipe;
import com.sun.xml.ws.assembler.metro.dev.ClientPipelineHook;
import com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext;
import com.sun.xml.ws.policy.PolicyMap;
import com.sun.istack.NotNull;
import com.sun.xml.ws.api.pipe.Tube;
import com.sun.xml.ws.assembler.dev.ClientTubelineAssemblyContext;
/**
* This is used by WSClientContainer to return proper 196 security pipe
* to the StandAlonePipeAssembler and TangoPipeAssembler
*/
public class ClientPipeCreator extends ClientPipelineHook {
public ClientPipeCreator(){
}
@Override
public Pipe createSecurityPipe(PolicyMap map,
ClientPipeAssemblerContext ctxt, Pipe tail) {
HashMap