Problem in verying the password using "com.ibm.portal.um.User" - Websphere

This is a discussion on Problem in verying the password using "com.ibm.portal.um.User" - Websphere ; In WebSphere Portal v5.1, for verifying the password following code has been ruturn and is working fine: +com.ibm.wps.puma.User User user = (com.ibm.wps.puma.User) ((PortletRequest) portletUtils.getPortletRequest+ +(httpServletRequest)).getUser();+ +boolean status = user.verifyPassword(Password);+ *// Which gives true (or) false.* While migrating from WebSphere Portal ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Problem in verying the password using "com.ibm.portal.um.User"

  1. Problem in verying the password using "com.ibm.portal.um.User"

    In WebSphere Portal v5.1, for verifying the password following code has been ruturn and is working fine:

    +com.ibm.wps.puma.User User user = (com.ibm.wps.puma.User) ((PortletRequest) portletUtils.getPortletRequest+
    +(httpServletRequest)).getUser();+

    +boolean status = user.verifyPassword(Password);+
    *// Which gives true (or) false.*


    While migrating from WebSphere Portal v6.0, i did't find any method in the user object for verifying the password. Below is the code:

    +com.ibm.portal.um.User user1 = (com.ibm.portal.um.User) ((PortletRequest) portletUtils.getPortletRequest+

    +(httpServletRequest)).getUserPrincipal();+
    *//Here in "com.ibm.portal.um.User" there is no method for verifying the passord.*


    Please suggest me how can i verify the password.

  2. Re: Problem in verying the password using "com.ibm.portal.um.User"

    In WebSphere Portal v5.1, for verifying the password following code has been ruturn and is working fine:

    +com.ibm.wps.puma.User User user = (com.ibm.wps.puma.User) ((PortletRequest) portletUtils.getPortletRequest+
    +(httpServletRequest)).getUser();+

    +boolean status = user.verifyPassword(Password);+
    *// Which gives true (or) false.*

    While migrating from WebSphere Portal v5.1 to WebSphere Portal v6.0, i did't find any method in the user object for verifying the password. Below is the code:

    +com.ibm.portal.um.User user1 = (com.ibm.portal.um.User) ((PortletRequest) portletUtils.getPortletRequest+

    +(httpServletRequest)).getUserPrincipal();+
    *//Here in "com.ibm.portal.um.User" there is no method for verifying the passord.*


    Please suggest me how can i verify the password.

+ Reply to Thread