Package com.liferay.portal.kernel.util

Examples of com.liferay.portal.kernel.util.KeyValuePair


      }
     
      if (userId != null && password != null && companyId != null) {
        try {
         
          KeyValuePair kvp = UserLocalServiceUtil.decryptUserId(Long.parseLong(companyId), userId, password);

          userByScreenName = UserLocalServiceUtil.getUserById(Long.valueOf(kvp.getKey()));
        } catch (NumberFormatException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        } catch (PortalException e) {
          // TODO Auto-generated catch block
View Full Code Here


            log("have cookies {0} {1} {2}", userId, password, companyId);
        }


        if (userId != null && password != null && companyId != null) {
            final KeyValuePair kvp = UserLocalServiceUtil.decryptUserId(Long.parseLong(companyId), userId, password);
            return getUser(kvp.getKey());
        }

        if (debug) {
            log("no cookies found");
        }
View Full Code Here

TOP

Related Classes of com.liferay.portal.kernel.util.KeyValuePair

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.