Package com.esri.gpt.sdisuite

Examples of com.esri.gpt.sdisuite.IntegrationContextFactory


        expr = "//tcExt:samlTicket";
        Node ndSaml = (Node)xpath.evaluate(expr,ndSoapEnv,XPathConstants.NODE);
        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


    // authenticate the user
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    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

Related Classes of com.esri.gpt.sdisuite.IntegrationContextFactory

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.