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