Package org.apache.juddi.api.impl

Examples of org.apache.juddi.api.impl.UDDISecurityImpl


          resultList.getServiceList().getServiceInfos().getServiceInfo().size() == 0) {
        resultList.getServiceList().setServiceInfos(null);
      }
      body.setSubscriptionResultsList(resultList);
      String authorizedName = modelSubscription.getAuthorizedName();
      UDDISecurityImpl security = new UDDISecurityImpl();
      try {
        //obtain a token for this publisher
        org.uddi.api_v3.AuthToken token = security.getAuthToken(authorizedName);
        body.setAuthInfo(token.getAuthInfo());
      } catch (DispositionReportFaultMessage e) {
        body.setAuthInfo("Failed to generate token, please contact UDDI admin");
        log.error(e.getMessage(),e);
      }
View Full Code Here

TOP

Related Classes of org.apache.juddi.api.impl.UDDISecurityImpl

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.