Examples of addSecurityContext()


Examples of org.apache.airavata.core.gfac.context.invocation.impl.DefaultInvocationContext.addSecurityContext()

//            gssContext.setMyproxyLifetime(gridMyproxyRepository.getLifeTimeInhours());
//            gssContext.setMyproxyServer(gridMyproxyRepository.getMyproxyServer());
//        }
        gssContext.setTrustedCertLoc(gfacConfig.getTrustedCertLocation());

        invocationContext.addSecurityContext("myproxy", gssContext);

        /*
    * Add workflow context
    */
        ServiceDescription serviceDescription = gfacConfig.getRegistry().getServiceDescription(jobContext.getServiceName());
View Full Code Here

Examples of org.ogce.gfac.context.InvocationContext.addSecurityContext()

      GSISecurityContext gsiSecurityContext = new GSISecurityContext();
      gsiSecurityContext.setMyproxyServer("myproxy.teragrid.org");
      gsiSecurityContext.setMyproxyUserName("ogce");
      gsiSecurityContext.setMyproxyPasswd("Jdas7wph");
      gsiSecurityContext.setMyproxyLifetime(14400);     
      ct.addSecurityContext("myproxy", gsiSecurityContext);     
     
      ct.setServiceName("{http://www.extreme.indiana.edu/namespaces/2004/01/gFac}Echo_Service");
     
      //parameter
      ParameterContextImpl x = new ParameterContextImpl();
View Full Code Here

Examples of org.ogce.gfac.context.InvocationContext.addSecurityContext()

      ct.getExecutionContext().setNotificationService(new DummyNotification());

      MessageContext msgContext = MessageContext.getCurrentMessageContext();     
      Map<String, Object> m = (Map)msgContext.getProperty(SECURITY_CONTEXT);
      for (String key : m.keySet()) {
        ct.addSecurityContext(key, (SecurityContext)m.get(key));
      }
      ct.setServiceName(serviceName);

      // TODO define real parameter passing in SOAP body
      //handle parameter
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.