Examples of ensureReferenceToRemoteUser()


Examples of com.esri.gpt.framework.security.identity.local.LocalDao.ensureReferenceToRemoteUser()

          user.getAuthenticationStatus().setWasAuthenticated(true);
         
          // ensure a local reference for the user
          try {
            LocalDao localDao = new LocalDao(context);
            localDao.ensureReferenceToRemoteUser(user);
          } catch (Exception e) {
            user.reset();
            err = "Openid authentication suceeded, creating local user reference failed.";
            LOGGER.log(Level.SEVERE,err,e);
          }
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.local.LocalDao.ensureReferenceToRemoteUser()

    }
  }
 
  // ensure a local reference for the user
  LocalDao localDao = new LocalDao(requestContext);
  localDao.ensureReferenceToRemoteUser(user);
}

/**
* Searches for a user by first executing a search for all users matching the
* supplied username credential, then checking the supplied password credential
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.local.LocalDao.ensureReferenceToRemoteUser()

    Users validUsers = new Users();
    if (allUsers.size() > 0) {
      LocalDao localDao = new LocalDao(getRequestContext());
      for (User u : allUsers.values()) {
        try {
          localDao.ensureReferenceToRemoteUser(u);
          validUsers.add(u);
        } catch (IdentityException ex) {
          LogUtil.getLogger().severe(
                  "Error ensuring reference to the remote user: " + ex.getMessage());
        }
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.local.LocalDao.ensureReferenceToRemoteUser()

  throws IdentityException, SQLException {
 
  // ensure the the publisher is referenced within the local user table
  LocalDao localDao = new LocalDao(getRequestContext());
  if (publisher.getIsRemote()) {
    localDao.ensureReferenceToRemoteUser(publisher);
  }
 
  // ensure that the publisher has a folder
  if (ensureDefaultFolder) {
    publisher.setFolderUuid(UuidUtil.makeUuid(true));
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.