Package org.jboss.identity.federation.core.wstrust.STSClientConfig

Examples of org.jboss.identity.federation.core.wstrust.STSClientConfig.Builder.build()


    public WSTrustClient(String serviceName, String port, String endpointURI, SecurityInfo secInfo) throws ParsingException
    {
        Builder builder = new STSClientConfig.Builder();
        builder.serviceName(serviceName).portName(port).endpointAddress(endpointURI).username(secInfo.username).password(secInfo.passwd);
        stsClient = STSClientFactory.getInstance().create(builder.build());
    }

    /**
     * This method will send a RequestSecurityToken with a RequestType of issue
     * and the passed-in tokenType identifies the type of token to be issued by
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.