Changing a portal user's password programatically

Hi,
I'm attempting to reset a user's password, and so far i got it to work once using:
update wwsec_person$
set password = wwsso_utl.hash_pwd('PASSWORD')
where user_name='USER'
after running that statement and committing, the password seemed to change, but then it apparently hasn't worked ever since. Does anyone have any idea how to change a user's password programmatically? there's plenty of threads, but all they all seem to be out dated (ie. portal 3.x) I'm using portal 10.1.4
Thanks in advance

Try ORASSO.WWSSO_OID_INTEGRATION.RESET_PASSWD

Similar Messages

  • How to change the portal user id 's assigned employee in ESS configuration

    Hello Gurus,
        I now have a question related to ESS configuration. I want to know how to change the Portal user's pernr assignment in the ECC 6.0 system. Somebody had actually assigned my portal user ID a PERNR in the ECC 6.0 system. But now, for test purposes, I want to change the PERNR assignment to something else for my portal user id.
    Could any of you please guide me in doing these steps?
    Points will definitely be awarded for helpful answers.
    Thanks gurus in advance for your help.
    ~~LB

    Hi Leena,
    You can create a new user name with the username and password assigned to it, with the transaction SU01.
    Ex : ESS_USER1
    Go to transaction code : PA30.
    Enter the pernr you want to assign to the user ESS_USER1 that you have created earlier.
    Enter infotype number : 105
    Now go ahead and click on the change button.
    And assign the user name as ESS_USER1.
    Then the pernr number will be assigned to the ESS_USER1 that you have created.
    You can check the same when you go to the HRUSER transaction code.
    Please let me know if you still have any issues on the same.
    Cheers.
    Sandeep

  • We want that Portal user reset password with old password

    Hi everyone,
    Now if our Portal users want to change the password, we need to provide “ User ID”,”Last name”,
    “First name”, and “E-mail” .
    It is very inconvenient !
    We want that reset the password by provide old password, as most of websites.
    How to do it ?
    Best Regards,
    Jianguo Chen

    Hi,
    Are you talking of the login help (support -> reset password) mask? There it makes few sense to ask for the old password, as the use case for this is a user who has forgotten his password! Nevertheless, it's not much work for example to reduce the needed input to userID for example (it's a small change in the corresponding JSP and within one small Java class, which checks the input; just done some days ago for a customer).
    On the other hand, if a user know his password, he can choose "Personalize" (he has to have the corresponding role (in fact means the Portal Personalization workset), and from within that one, he can create a new password - just also by providing his old one, exactly as you expect.
    Hope it helps
    Detlev

  • Changing a deleted user's password

    I recently had a deleted user where I needed to recover some emails from.
    I restored a copy of the post office, placed this copy to allow direct
    access and opened their mailbox using the /ph- switch.
    However this user had placed a password on their mailbox. Luckily I was
    able to figure out what the password was. However it occured to me that
    I wouldn't have known how to clear this password because her mailbox was
    "offline".
    Does anyone know what I could have done to change/remove the users'
    password?
    Thanks.

    Edward van der Maas wrote:
    > Brian Mantler wrote:
    >
    >> I recently had a deleted user where I needed to recover some emails
    >> from.
    >>
    >> I restored a copy of the post office, placed this copy to allow
    >> direct access and opened their mailbox using the /ph- switch.
    >>
    >> However this user had placed a password on their mailbox. Luckily I
    >> was able to figure out what the password was. However it occured to
    >> me that I wouldn't have known how to clear this password because her
    >> mailbox was "offline".
    >>
    >> Does anyone know what I could have done to change/remove the users'
    >> password?
    >>
    >> Thanks.
    >
    > gwcheck | select reset client options and check 'clear user's password'
    >
    I have now tried this, but it does not seem to clear the user's password.
    I have included the gwcheck.log file below.
    Any ideas?
    Thanks.
    ================================================== ==============================
    ===== BEGIN - JOB LOG
    ================================================== ========
    ================================================== ==============================
    ================================================== ==============================
    ===== TASK LOG - 0 (46b9a715.ckl)
    ==============================================
    ================================================== ==============================
    Novell GroupWise - GWCHECK - Version 7.0.1
    Processed on Wednesday, August 8, 2007 - 11:20 am
    Processing information for this run:
    Path to PO = E:\post
    Post Office= COE
    User = testpocoe
    Action = Resetting Preferences
    Verbose = Yes
    Upd DiskSpace= No
    Output log = gwchk32.log
    GWCHECK user options analysis:
    - options are consistent.
    STRUCTURAL VERIFICATION of system databases
    STRUCTURAL VERIFICATION of database ngwguard.db
    - Database is structurally consistent
    Reading Guardian Database store catalog info
    Searching for User/Post Office information for testpocoe
    Processing Post Office = COE path = E:\post
    - User found, Fid=go7, Diskid=187, PO=COE, Path=E:\post
    RESETTING user preferences for user database E:\post\ofuser\usergo7.db
    - resetting record 41000 - type = ENVIRONMENT
    - resetting record 41001 - type = SEND
    - resetting record 41002 - type = VIEWS
    - resetting record 41018 - type = TRANSACTION
    PROCESSING COMPLETED- total processing time: 0:00:01
    Processing completed
    ***** OVERALL STATS FOR THIS RUN *****
    Uncorrectable conditions encountered:
    - No problems found
    Correctable conditions encountered:
    - No problems found
    Overall processing time for the entire job: 0:00:03
    Accumulated task processing times spent on the job: 0:00:03
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    ================================================== ==============================
    ===== END - JOB LOG
    ================================================== ==========
    ================================================== ==============================

  • Changing a mobile users password has no effect

    Hi!
    Changing a mobile account users password on the server doesn't work. On a 10.7.4 server I changed a network user's password, who has a mobile account and was connected to the local network, but he could not log in with either the old or the new password?!?!? I could understand if the change didn't work if the user was off site, but shouldn't this "just work"? I tried both in Server.app and WGM, but still not working. When setting the old password on the server again, it worked!
    Anyone else had this problem? Any solutions. It has happened to 2 users, same story. Clients are 10.6.8 clients.

    Ok, I found out what's wrong.
    To "pan" an image you have to change bounds origin of PARENT view.
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    CGRect viewRect = CGRectMake(50, 50, 100, 100);
    UIView* myView = [self createView:viewRect withColor:[UIColor redColor]];
    UIView* childView = [self createView:CGRectMake(0, 0, 50, 50) withColor:[UIColor blueColor]];
    [myView addSubview:childView];
    [window addSubview:myView];
    myView.clipsToBounds=TRUE;
    myView.bounds=CGRectMake(45, 45, 100, 100);
    [myView release];
    [childView release];
    [window makeKeyAndVisible];
    -(UIView*) createView:(CGRect)viewRect withColor:(UIColor*)color
    UIView* myView = [[UIView alloc] initWithFrame:viewRect];
    myView.backgroundColor=color;
    return myView;
    }

  • Get current portal user password?

    Is it possible to get the current portal user's password? If so, I need the pl/sql api to accomplish this.

    Hi there,
    I was looking for the same thing but as I understood it is saved in a HASH format and their is NO way to decrypt it.
    The thing I do now is storing the password in a selfmade table besides the SSO tables for administrative use.
    Greets
    cumQuat
    Dave Ruzius

  • ISE 1.2 Guest portal user cannot change their passwords

    I have a WLC 5508(version 7.6) and a server installed  the ISE (version 1.2.1.198),Now we configured the CWA,Use guest portal as an employee and guest login url,We can use the manually create internal user and password successfully logged in, and we set up allow guest users to change password in Multi-Portal, but the user can not change the password in the guest portal ,I suspect the change password option on the Guest  Portal actually works? Can anyone tell me how to change their own username password in the guest portal ?

    Requiring Guests to Change Password
    You can allow or require guest users to change their password after their initial account credentials are created by the sponsor. If guest users change their passwords, sponsors cannot provide guests with their login credentials if they are lost. The sponsor must create a new guest account.
    You can either allow guests to change their passwords, or you can require that they do it at expiration and at first login. To require internal users using a guest portal to change their password upon their next login, choose Administration > Identity Management > Identities > Users . Select the specific internal user from the Network Access Users list and enable the change password check box.
    Before You Begin
    Create a Guest portal or modify the DefaultGuestPortal. This setting is specific to each Guest portal.
    Step 1 Choose Administration > Web Portal Management > Settings > Guest > Multi-Portal Configuration.
    Step 2 Check the Guest portal to update and click Edit .
    Step 3 Click the Operations tab.
    Step 4 Check either or both options:
    Allow guest users to change password
    Require guest users to change password at expiration and first login
    Step 5 Click Save .

  • How to allow user to change SAP Portal password by themselves

    We would like to allow user to change SAP Portal password by themselves. However, I added role Manage_My_Password and Manage_My_Profile to a user account. After logoned with this user account and opened the option 'Personalize'. I only find the page allow me to customize the page layout. But I haven't find tab for changing profile and password.
    Pls advise.
    Thanks.
    Edward

    Hi Edwar,
    You can hide the pages from portal personalization workset. copy the workset and select the page and click on property -> select Invisible in Navigation Areas ->yes
    You can find the workset under
    Portal content->End user content->Standard Portal Users>Workset->Portal Personalization
    If you want a custom developed application fro change password see the below blog
    A Change Password Application
    Hope it helps
    Regards
    Santosh

  • Can not start OC4J_BI_FORM after PORTAL user password change

    We changed PORTAL password by going top sqlplus and OAS. Thinking it will make changes at both places. Now we see that when we start OAS. OC4J_BI_FORM does not start???

    Please refer to section 6.4 Changing OracleAS Metadata Repository Schema Passwords and Table 6-2 Methods for Changing Oracle Metadata Repository Schema Passwords in the Oracle® Application Server Administrator's Guide, located at http://www.oracle.com/technology/documentation/appserver.html (Click View Library under Oracle Application Server 10g Release 2 (10.1.2.0.2))
    You should use the Application Server Control Console to change the password. After you change the password, restart Oracle HTTP Server and OC4J_Portal: In the home page for the instance, select HTTP_Server and OC4J_Portal and click Restart.
    Regards,
    Pete

  • How to change the Portal Password using a link from Web dynpro application

    Hello Everybody,
    I have a requirement to change the user password from a web dynpro application which is available on a mobile device. Firstly User will log into the portal through a mobile device and after getting authenticated user will be redirected to the mobile application. Within this mobile application there will be a link to change the login password(Portal login). Can somebody tell me how can i change the portal login password from a link available within the mobile application. Looking forward for a suitable reply.
    Thanks to all,
    Regards,
    Saby.

    Hi Maksim,
    Thanks for your reply..but i would also like to know can we directly use the Change Password Iview "persoUserPassword" from the portal. Can i directly Pass the URL of this iview from the portal to a "Change Password" link in the web dynpro application, so that when the user click this link he should be able to see this Iview on his/her mobile device and should be able to change the password from there. But i dont know whether this iview will appear properly on the mobile device or we have to have a custom web dynpro application for this purpose...Please reply with a suitable answer.
    Thanks in advance.
    Regards,
    Sarabjeet Singh.

  • Portal Users Passwords expiring

    In 9.02 it seems my portal users passwords seem to expire for no reason. When it happens, I have to go in and manually re-set their passwords. Is this a bug or is there some place to control this.

    Set the number of seconds before password expiration that the directory server
    sends the user a warning. By default the "Password Expiration Warning"
    parameter is set to 0, which disables the expiration warning.
    Also if the users need to be able to login after the password expiration set
    the "Number of Grace Logins after Password Expiration" parameter to a
    number greater than 0.
    Change these parameters in the following manner:
    1. Start the Oracle Directory Manager from the home of the iAS Infrastructure
    2. Login as the OID administrator, i.e. orcladmin
    3. Click on the + on the left of Password Policy Management
    4. Click on your password policy to change the settings on the right pane
    5. Set the Password Expiration Warning in seconds i.e. 259200 for 3 days.
    6. Set the Number of Grace Logins after Password Expiration to a greater than 0
    value i.e. 1. This will add a last opportunity for the user after his/her
    password expired.

  • How to change SSO user's password: Get LDAP URL

    Hi,
    I would like to add a 'change user SSO password' form to my BC4J application. The form's submit button fires an action that calls a PL/SQL package. This package receives 7 parameters, and uses de dbms_ldap package to change the user's password.
    Parameters:
    - LDAP Host
    - LDAP Port
    - User DN
    - SSO Username
    - Old Password
    - New Password
    - Retyped New Password (for confirmation)
    I'm trying with a DataForwardAction event whose purpose is to get the user's account information and the LDAP location, but I can't get the LDAP Location (ClassCastException) and the SSOUsername (NullPointerException).
    I'm using JDeveloper 10.1.2.0.0 (Build 1811)
    My question is: ¿What am I doing wrong? ¿Is there any easier way to do this?
    The code is below:
    import javax.servlet.http.HttpServletRequest;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.security.jazn.JAZNConfig;
    import oracle.security.jazn.spi.ldap.LDAPJAZNProvider;
    public class ChgPwdAction extends DataForwardAction
      public void onChange(DataActionContext ctx) throws Exception
        HttpServletRequest request = ctx.getHttpServletRequest();
        String host                = null;
        String port                = null;
        String userDN              = null;
        String SSOUsername         = null;
        String oldPwd              = null;
        String newPwd              = null;
        String confirmNewPwd       = null;
        try
          LDAPJAZNProvider ldapProvider = (LDAPJAZNProvider)JAZNConfig.getJAZNConfig().getJAZNProvider();
          host = ldapProvider.getJAZNConfig().getLocationURL().getHost();
          port = "" + ldapProvider.getJAZNConfig().getLocationURL().getPort();
        catch (ClassCastException e)
          //System.out.println(e);
          throw new Exception("Missing LDAP location");
        try
          userDN = request.getHeader("Osso-User-Dn");
        catch (NullPointerException e)
          //System.out.println(e);
          throw new Exception("Missing User DN.");
        SSOUsername   = request.getRemoteUser();
        oldPwd        = (String)request.getParameter("oldPwd");
        newPwd        = (String)request.getParameter("newPwd");
        confirmNewPwd = (String)request.getParameter("confirmNewPwd");
        request.setAttribute("Host", host);
        request.setAttribute("Port", port);
        request.setAttribute("UserDN", userDN);
        request.setAttribute("SSOUsername", SSOUsername);
        request.setAttribute("OldPwd", (String)ctx.getHttpServletRequest().getParameter("oldPwd"));
        request.setAttribute("NewPwd", (String)ctx.getHttpServletRequest().getParameter("newPwd"));
        request.setAttribute("ConfirmNewPwd", (String)ctx.getHttpServletRequest().getParameter("confirmNewPwd"));
        //System.out.println (userDN + "-" + SSOUsername);
      // To override a method of the lifecycle, go to
      // the main menu "Tools/Override Methods...".
    }Thanks in advance.

    Hi again,
    First of all, thanks for your reply.
    Yes, I know I can use JNDI instead of a call to a PL/SQL package (I visited this link: http://forum.java.sun.com/thread.jspa?threadID=592611&start=0 that explains how to do it), but in both cases I have the same problem: I don't know if it's possible to get the LDAP's environment specifications (PROVIDER_URL, SECURITY_PROTOCOL) dynamically.
    Our production environment's LDAP is not the same as our development environment's LDAP. This is why I want to get this information dynamically.
    I think that this information is stored in the jazn.xml file: Is there any way to get this information?
    Thanks a lot.

  • How can I Change a User's password remotely

    Hi all
    I setup an iChat Server. I need to allow the users the ability to change their password without physically accessing the server (including via Remote Managment)
    Thow some iChat(jabber) Clients support changing the password, the iChat Server does not appear to have this option.
    Is there any way to remotely change a user's password ?
    A possible solution would be to setup a Webpage allowing the user to logon and change the Password.
    Is there any web managment tool on OS X Server for this ?
    Any other sugestions?
    Thanks,
    Best regards

    This is getting depressing. I've just speand most of a day getting the OID to support ldaps SSL protocol, since I read that a number of active directory services only allow password change if the connection is encrypted. Finally got my ldaps connection, but the NoPermissionException is still there. The user I'm signing on as is definitely has user security management permissions. I can't seem to modify attributes at all. I added my own optional attribute to the schema, but JNDI can't set it.
    Perhaps the oracle LDAP library in jpdk might help, but I'm not hopeful. If I could find any API documentation I might be more moved to try, but I see no setPassword methods in the relavant classes. This just looks like a fairly thin wrapper for JNDI anyway.
    Does anyone know where the API doc for oracle.ldap.* is? Has anyone got a password to change other than by the SSO's built in change password dialog?
    I'm not hopeful. On these boards I've found many questions along these lines but, thus far, no answers.

  • How to get password of a logged in portal user in webdynpro.

    hi,
    i want to get the password of the logged in portal user through webdynpro. i already know how to get the user id and other information through webdynpro (using WDClientUser), but i want to get the password as well.
    this is an urgent requirement. Immediate help will be highly appreciated and points will be awarded for helpful answer.
    thanks in advance.

    Hi
    User Management APIs don't give the liberity to obtain the password, instead you can verify a password. Please check if your requrirement can be modified to check for password.
    Please use code mentioned below and the one suggested before.
    loggedInUser = WDClientUser.getCurrentUser();
    user = loggedInUser.getSAPUser();
    if (user != null)
    IUserAccount[] acct = user.getUserAccounts();
    if(acct[0] != null)
    b = acct[0].checkPassword(password);
    Thanks
    Srikant

  • Problem in getting Portal Mapped user and password in Web Dynpro iView

    I am developing a webdynpro iview.My app need to read mapped user and password form a system in Portal runtime.
    I used the following codes in my Web Dynpro java program:
         IWDClientUser user = WDClientUser.getCurrentUser();
         IUser iuser = user.getSAPUser();
         IUserMappingService iums = (IUserMappingService)WDPortalUtils.getServiceReference(IUserMappingService.KEY );
    //     IUserMappingService iums = (IUserMappingService)
    //     PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
         IUserMappingData iumd = iums.getMappingData (systemalias, iuser);
         Map map = new HashMap ();
         iumd.enrich(map);
         String userid = (String)map.get( "user" );
         String pwd = (String)map.get ("mappedpassword");
    I've add a sharing references in project properties,the value is "PORTAL:sap.com/com.sapportals.portal.prt.service.usermapping.IUserMappingService"
    But when I run the iview on my Portal, it goes wrong, the message is:
    com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/HomePage'' for startup. Reason= Clusterwide exception: Failed to start dependent library ''com.sapportals.portal.prt.service.usermapping.IUserMappingService'' of application ''local/HomePage''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
        at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:184)
        at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:365)
        at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:117)
    Anybody can help me?And are there anyother methods can get mapped user and password of Portal systems in Web Dynpro JAVA.

    Hi Wayne,
          Did you added com.sap.security.api.jar to your webdynpro project. if not follow this steps.
    1. Right-click the project in Eclipse or SAP NetWeaver Developer Studio.
    2. Select Properties.
    3. Choose Java build path -> Libraries -> Add Variable -> Select variable WD_RUNTIME -> Extend -> com.sap.security -> lib -> com.sap.security.api.jar.
    I hope this should solve your problem.
    Regards, Suresh KB

Maybe you are looking for

  • GR/IR automatic Blocking & Unblocking

    Hi I have a couple of questions regarding the GR/IR automatic Blocking and Unblocking, Question 1 Scenario: Looking for Quantity Variance Purchase Order:           Qty: 10Kg & Price: $20       [@ unit price $2/ 1kg] Goods Received:          Qty: 6 Kg

  • HREIC Enhancement: Addition of SLA column to activity search result page

    Hi Experts, I am currently assigned in enhancing the activity search of transaction code HREIC_VP by adding SLA column in the output table. I debugged this BSP application and haven't found any class where the selection of data happens. Does anybody

  • Pasing parameters between forms

    Hi. I need to pass two parameters to a subform and if it is posible also get one return value from it. Explanation: I constructed an simple address book (main form) where I can add telephone numbers, names, post codes / names,... I want to popup a su

  • Can I import pictures into folders not based on when the pictures were taken?

    I am organizing my familes pictures and trying to sort what I already have and what is new.  There are a lot of pictures.  I have them organized on the hardrive and want to import them into iPhoto, but when I do that they are instead organized by the

  • Hide the content area border on prePrint

    I would like to hide the content area border of a date field dynamically on the prePrint event using Javascript. This is the Appearance field on the Field tab on the Object tab. Is that possible?