Package org.jboss.portal.identity.db

Examples of org.jboss.portal.identity.db.HibernateUserImpl.updatePassword()


         {
            hu = new HibernateUserImpl(user.getUserName());
            //user.updatePassword(user.getPassword());
            if (defaultSynchronizePassword != null)
            {
               hu.updatePassword(getDefaultSynchronizePassword());
            }
            //really dummy password generation
            //TODO: make something more sophisticated (risk of this part is documented)
            else if (randomSynchronizePassword)
            {
View Full Code Here


               StringBuffer password = new StringBuffer();
               for (int i = 0; i < 10; i++)
               {
                  password.append(r.nextDouble());
               }
               hu.updatePassword(password.toString());
            }
            session = getCurrentSession();

            //so if we synchronize from LDAP lets make the user enabled
            if (isEnableSynchronizedUsers())
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.