// build the token-provider and service-metadata maps.
TokenProvidersType providers = this.delegate.getTokenProviders();
if (providers != null)
{
WSTrustServiceFactory serviceFactory = WSTrustServiceFactory.getInstance();
for (TokenProviderType provider : providers.getTokenProvider())
{
this.tokenProviders.put(provider.getTokenType(), serviceFactory.createTokenProvider(provider
.getProviderClass()));
}
}
ServiceProvidersType serviceProviders = this.delegate.getServiceProviders();
if (serviceProviders != null)