Examples of updateUser()


Examples of org.apache.james.user.api.UsersRepository.updateUser()

            response = new RemoteManagerResponse("No such user " + username);
            return response;
        }
        boolean success = user.setPassword(passwd);
        if (success) {
            users.updateUser(user);
            StringBuilder responseBuffer =
                new StringBuilder(64)
                        .append("Password for ")
                        .append(username)
                        .append(" reset");
View Full Code Here

Examples of org.apache.james.user.file.UsersFileRepository.updateUser()

        repos.setEnableForwarding(true);
        repos.addUser(username,password);
       
        JamesUser user = (JamesUser)repos.getUserByName(username);
        user.setAlias(alias);
        repos.updateUser(user);
       
        Collection<String> map = ((VirtualUserTable) repos).getMappings(username, domain);
        assertNull("No mapping", map);
       
        user.setAliasing(true);
View Full Code Here

Examples of org.apache.james.user.jdbc.JamesUsersJdbcRepository.updateUser()

        repos.setEnableForwarding(true);
        repos.addUser(username,password);
       
        JamesUser user = (JamesUser)repos.getUserByName(username);
        user.setAlias(alias);
        repos.updateUser(user);
       
        Collection<String> map = ((VirtualUserTable) repos).getMappings(username, domain);
        assertNull("No mapping", map);
       
        user.setAliasing(true);
View Full Code Here

Examples of org.apache.jetspeed.security.UserManager.updateUser()

                            catch (NodeException e)
                            {
                                error(e.getMessage());
                            }
                        }
                        userManager.updateUser(user);
                                               
                        PasswordCredential credential = userManager
                                .getPasswordCredential(user);
                        if (!StringUtils.isEmpty(getPassword()))
                        {
View Full Code Here

Examples of org.apache.jetspeed.security.UserManager.updateUser()

                            catch (NodeException e)
                            {
                                error(e.getMessage());
                            }
                        }
                        userManager.updateUser(user);
                                               
                        PasswordCredential credential = userManager
                                .getPasswordCredential(user);
                        if (!StringUtils.isEmpty(getPassword()))
                        {
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.SessiondataDao.updateUser()

          soapLogin.setUsed(true);
          soapLogin.setUseDate(new Date());
          //soapLogin.setClientURL(clientURL); //FIXME
          soapDao.update(soapLogin);

          sessionDao.updateUser(SID, user.getUser_id());
          setUser(user);
          recordingId = soapLogin.getRoomRecordingId();
          return true;
        }
      }
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.SessiondataDao.updateUser()

    if (_userId == null || userId != _userId) {
      Sessiondata sessionData = sessionDao.getSessionByHash(SID);
      if (sessionData == null) {
        sessionData = sessionDao.startsession();
      }
      if (!sessionDao.updateUser(sessionData.getSession_id(), userId, false, languageId)) {
        //something bad, force user to re-login
        invalidate();
      } else {
        SID = sessionData.getSession_id();
      }
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.SessiondataDao.updateUser()

          soapLogin.setUsed(true);
          soapLogin.setUseDate(new Date());
          //soapLogin.setClientURL(clientURL); //FIXME
          soapDao.update(soapLogin);

          sessionDao.updateUser(SID, user.getUser_id());
          setUser(user);
          recordingId = soapLogin.getRoomRecordingId();
          return true;
        }
      }
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.SessiondataDao.updateUser()

          soapLogin.setUsed(true);
          soapLogin.setUseDate(new Date());
          //soapLogin.setClientURL(clientURL); //FIXME
          soapDao.update(soapLogin);

          sessionDao.updateUser(SID, user.getUser_id());
          setUser(user);
          recordingId = soapLogin.getRoomRecordingId();
          return true;
        }
      }
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.SessiondataDao.updateUser()

    if (_userId == null || userId != _userId) {
      Sessiondata sessionData = sessionDao.getSessionByHash(SID);
      if (sessionData == null) {
        sessionData = sessionDao.startsession();
      }
      if (!sessionDao.updateUser(sessionData.getSession_id(), userId, false, languageId)) {
        //something bad, force user to re-login
        invalidate();
      } else {
        SID = sessionData.getSession_id();
      }
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.