Examples of newIntegrationContext()


Examples of com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext()

        if (ndSaml != null) {
          String samlToken = ndSaml.getTextContent();
          if (samlToken != null) {
            IntegrationContextFactory icf = new IntegrationContextFactory();
            if (icf.isIntegrationEnabled()) {
              IntegrationContext ic = icf.newIntegrationContext();
              if (ic != null) {
                String samlUsername = ic.getUsernameFromSAMLToken(samlToken);
                RequestContext rc = context.getRequestContext();
                if ((rc != null) && (samlUsername != null)) {
                  User user = rc.getUser();
View Full Code Here

Examples of com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext()

    idAdapter.authenticate(user);
   
    // inform if sdi.suite integration is enabled
    IntegrationContextFactory icf = new IntegrationContextFactory();
    if (icf.isIntegrationEnabled()) {
      IntegrationContext ic = icf.newIntegrationContext();
      if (ic != null) {
        ic.ensureToken(user);
        ic.initializeUser(user);
      }
    }
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.