Package org.exoplatform.services.organization.impl

Examples of org.exoplatform.services.organization.impl.UserImpl


            }
        }

        if (authenticated && orgService.getConfiguration().isUpdateLastLoginTimeAfterAuthentication()) {
            UserImpl userImpl = (UserImpl) user;
            userImpl.setLastLoginTime(Calendar.getInstance().getTime());
            saveUser(userImpl, false);
        }

        if (log.isTraceEnabled()) {
            Tools.logMethodOut(log, LogLevel.TRACE, "authenticate", authenticated);
View Full Code Here


        }

        User user = null;

        if (plUser != null) {
            user = new UserImpl(plUser.getId());
            populateUser(user, session);

            if (!userStatus.matches(user.isEnabled())) {
                user = null;
            }
View Full Code Here

            attributes.add(new SimpleAttribute(USER_LAST_NAME, user.getLastName()));
        }

        // TODO: GTNPORTAL-2358 Change once displayName will be available as part of Organization API
        if (user instanceof UserImpl) {
            UserImpl userImpl = (UserImpl) user;
            if (userImpl.getDisplayName() != null) {
                attributes.add(new SimpleAttribute(USER_DISPLAY_NAME, ((UserImpl) user).getDisplayName()));
            } else {
                removeDisplayNameIfNeeded(am, user);
            }
View Full Code Here

        if (u == null) {
            return null;
        }

        User user = new UserImpl(userName);
        populateUser(user, session);

        return userStatus.matches(user.isEnabled()) ? user : null;
    }
View Full Code Here

        int i = 0;

        for (; i < users.size(); i++) {
            org.picketlink.idm.api.User user = users.get(i);

            User gtnUser = new UserImpl(user.getId());
            ((UserDAOImpl) getOrganizationService().getUserHandler()).populateUser(gtnUser, getIDMService()
                    .getIdentitySession());
            exoUsers[i] = gtnUser;
            lastExisting = gtnUser;
        }
View Full Code Here

        }
        listeners_.remove(listener);
    }

    public User createUserInstance() {
        return new UserImpl();
    }
View Full Code Here

    public User createUserInstance() {
        return new UserImpl();
    }

    public User createUserInstance(String username) {
        return new UserImpl(username);
    }
View Full Code Here

            }
        }

        if (authenticated && orgService.getConfiguration().isUpdateLastLoginTimeAfterAuthentication()) {
            UserImpl userImpl = (UserImpl) user;
            userImpl.setLastLoginTime(Calendar.getInstance().getTime());
            saveUser(userImpl, false);
        }

        if (log.isTraceEnabled()) {
            Tools.logMethodOut(log, LogLevel.TRACE, "authenticate", authenticated);
View Full Code Here

        }

        User user = null;

        if (plUser != null) {
            user = new UserImpl(plUser.getId());
            populateUser(user, session);

            if (!userStatus.matches(user.isEnabled())) {
                user = null;
            }
View Full Code Here

            attributes.add(new SimpleAttribute(USER_LAST_NAME, user.getLastName()));
        }

        // TODO: GTNPORTAL-2358 Change once displayName will be available as part of Organization API
        if (user instanceof UserImpl) {
            UserImpl userImpl = (UserImpl) user;
            if (userImpl.getDisplayName() != null) {
                attributes.add(new SimpleAttribute(USER_DISPLAY_NAME, ((UserImpl) user).getDisplayName()));
            } else {
                removeDisplayNameIfNeeded(am, user);
            }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.organization.impl.UserImpl

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.