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

Examples of org.jboss.identity.federation.core.wstrust.WSTrustServiceFactory


      // 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())
         {
            // create and initialize the token provider.
            SecurityTokenProvider tokenProvider = serviceFactory.createTokenProvider(provider.getProviderClass());
            Map<String, String> properties = new HashMap<String, String>();
            for(PropertyType propertyType : provider.getProperty())
               properties.put(propertyType.getName(), propertyType.getValue());
            tokenProvider.initialize(properties);
            // token providers can be keyed by the token type and by token element + namespace.
View Full Code Here

TOP

Related Classes of org.jboss.identity.federation.core.wstrust.WSTrustServiceFactory

Copyright © 2018 www.massapicom. 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.