How to set password entered by user in the custom self registration app?

Hi All,
I am trying to create a customized self registration page on the portal logon page using Webdynpro JAVA application. Now the problem I am facing is that I am not able to identify how to set the initial password for the user in the portal that is entered by the user while registering through the application.
I am using the object as:
IUserFactory userFact = UMFactory.getUserFactory();
IUserMaint userMaint = userFact.newUser(user);
I am able to set different parameters such as First Name,Last Name, User Id, Email Id, etc but not the password.
Any pointers will be highly appreciated.
Thanks in Advance.
Regards.
Rajat

Hi Rajat Jain,
Try the below code.
IUserAccountFactory mAccountFact = UMFactory.getUserAccountFactory();
IUserAccount userAccount =mAccountFact.getUserAccountByLogonId(login); // Provide login
IUserAccount muserAccount = mAccountFact.getMutableUserAccount(userAccount.getUniqueID());
muserAccount.setPassword(oldPassword.trim(), confirmPassword.trim());
muserAccount.save();
muserAccount.commit();
Regards,
VJR.

Similar Messages

  • How to set Password for Xellerate user in OIM

    I am using recon API's and creating Xellerate user, unfortunately the recon is not accepting USR_PASSWORD which is the field name defined in OIM
    Can somebody please let me know how to set this password for Xellerate user??
    Thank you in advance for your response. (this is go-live issue you know what that means :-)

    Hi,
    If you are doing reconciliation and trying to reconcile the password as well. Then you must map the Resource Object attribute for the password field to the 'Identity' field of OIM. You can find this field in the 'Reconciliation Field Mappings' section for Xellerate User. Just map the field which you want to be set as OIM user password in the section and you are done.

  • How to set default value to user attribute in customized information tab

    Hi Experts,
    we created a custom attribute in Administration-managed custom attributes  and now we are getting that attribute under customized information tab in  user admin->identity management.
    This attribute is coming for all users and it is working fine and I can give value to this attribute also.
    Now the problem is we have more than 10000 users in the portal and we have to assign same value to this custom attribute to all the users.
    Is there any possiblity of setting the value to all the user without coding.
    If it is not possible then how can I proceed for coding.
    any help will be appreciated.
    Raghu

    Hi Michael,
    Yes my data source is LDAP.  This attribute is added in the portal itself and I don't think it is possible to set the value of custom attribute at LDAP.
    Shanta : We already created the custom attribute and it is also appearing in the Customized information
    Problem is we need to set a value to that attribute. This should be same to all the users coming from LDAP.
    My Basis people are asking the funtion module which calls when we click on the Customized information tab.  Is that possible to know?
    Or we can set this value by writing a piece of code in webdynrpo java?
    Appreciate your inputs
    Raghu

  • How to set tray's background image in the custom page layout?

    Hi all,
    I've developed custom page layout with custom iView tray implementation. I've applied my layout into my page and added some iViews. Those iViews are URL isolated so they are rendered as an iframe. My problem is that an iframe background containing iView content overcast my background image which I have set in my iView tray implementation. Is it possible to set transparent background for an iframe in this scenario?
    I would be grateful for helpful answers.
    Best Regards,
    Michał M.

    Hi Tamil,
    That's right, I've already used layout tag library do develop custom tray design but my problem concerns iView's isolation method . URL isolation renders iView's content in an iframe which has its own background. I've read some articles about getting transparent iframes but I'm not sure how could I achive this in SAP EP? Is it possible?
    Best Regards,
    Michal M.

  • How to set password policy for apps users

    Hi All,
    Can anyone please help me.
    I am working on apps 11i.
    How to set password policy for users
    Thanks

    Check Note: 189367.1 - Best Practices for Securing the E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=189367.1

  • How to set password expiration for EBS users

    how to set password expiration for EBS users .
    Regards .

    Please follow below steps:-
    This is available starting in RUP4.
    The script to expire all passwords in the fnd_user table is $FND_TOP/patch/115/sql/AFCPEXPIRE.sql.
    It can be executed from SQL*Plus or as a Concurrent Program: sqlplus -s APPS/ @AFCPEXPIRE.sql
    or Submit concurrent request: CP SQL*Plus Expire FND_USER Passwords
    This script sets the fnd_user.password_date to null for all users which causes all user passwords to expire.The user will need to create a new password upon the next login.
    Thanks,
    JD

  • I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • How to set password for a zip file and should be checked when reading that

    Hi friends,
    how to set password for a zip file and should be checked when reading that file???
    thanks.
    Praveen Reddy.J

    Heyy man, i think, u did not get my problem.
    all i have to do is:
    i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
    Tanks for reply.

  • How to set password on email body in custom Email Template

    Hy,
    I have a Email Template customized in Email Definition>Design Console.
    I need send this 'Email Template' with the password user, but I don't know how to set the variable 'password' in the body of email.
    I searched in Varables>Targets>Variables, but I not found any think variable like password.
    Some has a idea about this? How to set password on email body?
    Regards,
    Piza

    You can use custom Java code. Refer the following:
    Email notification to users after they change their OIM password

  • How can reset password of bulk users in one time through AD or script?

    how can reset password of bulk users in one time through AD or script?

    Hello Mr. Lovely,
    Do you have ActiveDirectory Module which shipped with Windows Server 2008 R2? If you have it, you can complete this task very easily.
    #First, you need to import ActiveDirectory Module
    Import-Module ActiveDirectory
    #Second, generate a SecureString which contains the password.
    $securePwd = ConvertTo-SecureString -String "P@ssw0rd!" -Force -AsPlainText
    #Third, find the Active Directory users ,and use Set-ADAccountPassword for resetng the password.
    Get-ADUser -Filter {Name -like "Test*"} | Set-ADAccountPassword -NewPassword $securePwd
    Also, you can review following link for more details about the Active Directory cmdlets.
    Active Directory Cmdlets in Windows PowerShell
    http://technet.microsoft.com/en-us/library/ee617195.aspx
    Best Regards,
    Greg Gu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to change password for sidadm user on HP-UX

    Hello
    How to change password for <sidadm> user on HP-UX

    Hello Jan,
           1.      Log on to the operating system with the <sid>adm user.
           2.      Open a shell.
           3.      Enter the command passwd.
           4.      Enter the old and new passwords
    Rohit

  • How to change password of sys user connected as sysdba?

    How to change password of sys user connected as sysdba?
    I have connected with user name sys as sysdba in oracle 9i with password oracle.
    I want to change the password . I typed password and pressed entered. It asks me to type old password, then new password and retype the new password. When I press enter it gives error message "ERROR:
    ORA-28008: invalid old password"
    Password unchanged.
    does anyone know about this...? how to change the password..?

    You may be using operating system authentication to log in as sys with sysdba privileges.
    By using password utility, you can change the password of sys user (which is in database) which is "change_on_install" when you create a database.
    You can change this password.

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • How to set  password for BPEL domain

    Hi,
    I am new to SOA.
    I want to setup client-server environment for few developers.
    I installed SOA 10.1.3.3 in the server machine.
    And I created few domains in BPEL, one for each developer.
    It didn't ask me to set the password while creation of the domain.
    Please let me know how to set password for newly created domain so that each developer login to his/her own domain and manage processes.
    Thanks!!!

    Thanks for the prompt response.
    What roles should I give to my developers to allow them to manage their services in ESB control, BPEL control, WSM control.
    And I would like to know how to set the password for a BPEL domain too.
    Message was edited by:
    user644377

  • How to set password for every application

    Hi,
    As a administrator how to set password for every weblication in sharepoint 2013.
    Is there any way to set?
    Thanks,

    Who's password are you trying to set? Please provide more details.

Maybe you are looking for

  • Creation of new domains in weblogic

    Hi All, I need to create two new domain in weblogic. It should be start & stop from the admin console. How to do that. What is node manager? Just assigning the managed server with machine will do the start and stop from admin console. ?

  • Mail server setup for LAN use only

    Hello, I want to use smtp-notify for alert mails. But I want to send these mails to LAN only - no internet connection is available. How do I set up a mail server on SOL11E (pop or imap)? The mails in /var/mail are just a simple file so I can't use th

  • QOS for PCoIP on a 3850

    Teradici advises that packet loss be kept below 1% in PCoIP. I know that UDP is not guaranteed to arrive in order but, again according to Teradici, out of order packets may be considered as dropped packets.  One suggestion is to turn on WRED on the 3

  • MRP Exception 20

    Hi there In the Stock Requirements List, some of my parts have more than one PO and an additional Requisition. The POs have the exception message '20 - Cancel Process'. Seemingly MRP creates more Reqs despite the fact that a PO exists already. No cha

  • Need information on student lifecycle management

    Hi,   Our company is officially SAP customer. We are planning to implement student life cycle management for nearly 12000 students.Could you please provide me , how much it cost for the yearly license and also the system requirements. Thanks, Srikant