Adding a change password link in a custom portlet

Hi,
Does anyone know how to add a change password link in a custom portlet? the custom nav UI we have does not show the my account link, we want to hide this complexity for external users, but we still want them to be able to change their password.
I am expirimenting with using the following link, which seems to work fine, but was wondering if there was a more elegant way to do it using pt: tags?
<pt:transformer pt:fixurl="off" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>Change]http://servername/portal/server.pt?space=ChangePassword&&control=EditorStart&editorType=10">ChangePassword</a><pt:transformer pt:fixurl="on" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>
Thanks

Hrm... this does get ugly... This has come up a few times w/ our users as well, so I am definitely interested in seeing what can be done.
I don't see any sort of pre-built tag to let you access this directly. To your point, I only found the general account editing / access link - not one directly to password reset.
Couple of questions / notes
I tried your option and while it works, I'm concerned by the redirect back to the account page. That seems to violate your requirements on hiding the account options info. When the user hits finish / cancel they're taken to the main "My Account" page.Have you considered securing the other activity spaces so they're not visible from the "My Account" page? Then you could use the built-in tags. Not ideal, I know, but if you're going to be routed back to that screen anyway once you finish/cancel your password change...Have you considered just writing the password reset funtionality into your app? I did this a while back and it was actually pretty simple. Then you can have complete control over the behavior.How I wrote password reset...
You know the userid in this case, so things are MUCH easier (no need to search to find the specific user)Assumption: users are stored in the plumtree database auth sourceUse the native API (com.plumtree.server). I don't know if you need to impersonate a full admin or not... my code doesGet a handle on the userReset the password with the "SetPassword" methodStore the changeSemi-functional code below - note how you'd never want to store your admin userid / password in here like this (or have it blank...)
'//create an admin connection Dim ptAdminSession As IPTSession = New Session ptAdminSession.Connect("administrator", "", Nothing)
Dim sNewPassword As String = ""
'//start user impersonation Dim ptUserSessionTemp As IPTSession = ptAdminSession.ImpersonateUser(iUserID)
'//open the user for editing Dim oUser As IPTUser = ptAdminSession.GetUsers().Open(iUserID, True)
'//reset the password oUser.SetPassword(sNewPassword)
'//mungle with server context Dim mySC As IPTServerContext = oUser.GetInterfaces("IPTServerContext") mySC.Store() mySC.UnlockObject()

Similar Messages

  • Change Password link is not showing up in MyAccount Page

    Change Password link is not showing up in MyAccount Page, eventhough the line
    <class name="PasswordPortalSetting"/> is not commented out in DisplayPortalSettings.xml
    We are using custom Auth source and not using plumtree Auth source, Is this could be a reason?
    Any help is appreciated.

    I'm seeing the same thing as Simon, I changed the iOS device name in both places on an iOS device and the name in the Intune console is still "iPhone" which is really unhelpful as I'm sure you can imagine.  Is there some other place
    that we should be going to rename devices so they are more easily identifiable in the Intune console?
    Thanks!

  • Enable Personalize / Change Password LInk

    Hi,
    I want to enable personalize / change password link on EP.
    Steps followed are:
    --> Masthead iview personalize property is made true
    --> UME action assigned to role & role is assigned to users.
    Link followed: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/0b1d50ec732d2fe10000000a11466f/frameset.htm
    Still I cant see Personalize / Change Password Option in Masthead.
    Regards,
    Purav

    Hi Purav,
    Have you enabled Personalization radio button in masthead ivew ??
    Try assigning  the UME action Manage_My_Profile to your role. .
    [Check this Link|Allow users to change their own password]
    Regards,
    Piyush

  • Icloud account Help not receiving a change password link to email address

    Good day Forum.  I am going to explain my situation as concise and detailed ..any help would be greatly be appreciated.  I had created an appled id account for my daughter when she got her phone for christmas under that apple id as months passed my wife starting adding contacts under icloud account.  Til then she had accumalted about 300 contacts under my daughter phone (icloud account [email protected])  My question is when i went under that account and changed the primary email address to my wifes aol email.  I did this because i created my daughter a new apple id and wanted her old apple id simply changed to my wifes email address.  Does it delete that account and totally create a new apple id?  When i changed the email address i thought the account (contacts would simply just be associated with the new email address.  As i added the new email address to my wifes new iphone, all the 300 contacts do not show.  I have sent hunddres of forgot password links to the old associated email address ([email protected]) and never receive a password reset. I am trying to regain that icloud account because it is under theere were my wife had all her 300 contacts.  Please help

    Contact the Apple account security team for your country to verify your identity and ask for assistance: Apple ID: Contacting Apple for help with Apple ID account security.  The call should be free of charge.  If your country isn't listed, contact iTunes store support by filling out this form: https://www.apple.com/emea/support/itunes/contact.html.

  • Enable change password option in masthead for the custom role

    Hi Experts,
    In our project we have to provide change password option to the custom roles. However we don't have to use eu_role or admin role. Could you please let me know how to go about it.
    Regards,
    RK

    Hi
      Please Refer this thread
        Password Change - Personalize in EP7.0
    You can use old persouserpassword screen after setting the UME property
    ume.admin.wdactive to false using the configtool
    Regards
    Ganesan S

  • Sync encountered an error, incorrect username or password. Changed password, updated password, still same error. How do I change username?

    I am using Firefox 5 in Ubuntu 11.04 Natty. When Firefox tries to sync it gives an error; "incorrect account name or password". I went to the "change password" link, followed the emailed link, changed my password and updated the password in Sync preferences. I have done this three times but still get the incorrect account name or password error. What do I need to do now?

    This happened a few days ago as well. I've read elsewhere that the problem is with their servers, not our accounts (cannot find the link now). Whenever the servers get back online, or updated, or whatever, the problem will go away. It's been taking longer than usual to get back this time, so that yellow banner at the bottom has become quite annoying.

  • How to enable change password feature in SAP Netweaver Portal 7?

    Hi experts,
    I would like to provide a change password link just beside the logout link after user had successfully logged in to Sap Netweaver portal. When user clicks that link, a change password screen sill appear to allow user to change his/her password.
    Question:
    1) How do i create a link in portal header just beside the logout link?
    2) Is there any default change password page for Sap Netweaver Portal that I can use for this purpose?
    Thanks,
    Kenneth

    Hi,
    To get the change password link beside logout, get the masthead PAR file from portal, import into your NWDS, make the changes in the JSP and upload PAR file back to portal. Search with keyword "Masthead customization" in SDN. You will get many documents to achieve.
    SAP has password change functionality available. Chekc the link below for details.
    Re: Change Password Functionality
    Regards,
    Yoga

  • Change password for this forum

    To change your password, make sure you are logged on and click the "Account" link in the upper right side of the page. This will bring you to the main registration page where there is a "Change Password" link in the upper right side of the page under the "Log out" link.
    So sayeth the FAQs page.
    WHere is the "Account" link supposed to be?

    The account is not hosted by http://forums.oracle.com (which is only a subdomain) but by http://www.oracle.com
    Go there, and click on "account" then "change password"
    Nicolas.

  • Change password url in OIM

    Dear Team,
    Lost Password Management using OIM 11g.
    we recently upgraded oracle access and indentity manager from 10g(10.1.4.3) to 11g(11.1.1.5).
    we have a webcenter portal applications(11.1.1.6) in which we are using change password functionality so that users can change there passwords after login into the applications.
    In OAM 10g(10.1.4.3) we used to use below url to change the password.
    http://aeadsverp18-adp.adp.ae:7778/identity/oblix/apps/lost_pwd_mgmt/bin/lost_pwd_mgmt.cgi?backUrl=http://aeadebab.adp.ae&login=%login%%userid%%ssousername%&target=top
    We have placed above link in our webcenter portal page.
    In OIM 11g is there link for change password like the same we have in OIM 10.1.4.3
    Kindly adivce the steps to do the same.
    Thanks,
    Rajendra.

    For OIM 9i:
    http://oimip:portno/xlWebApp/changePassword.do
    for 11g:
    Login to OIM11g go to self service tab, click on change password link. There you can get url for change password.
    regards,
    GP

  • Customize change password logic

    Hi guys,
    We are working on EP 6.0, We need to make our own change password logic for first time user login. ( e.g  new password should be > 10 long,  if he makes a number of unsuccesful operation, his account will be locked , etc...)
    For current change password logic, the system calls some .class file provided by SAP.
    Can we change the logic of orginal .class ? if not, how can we create our own and use it?
    Regards,
    Guo Feng

    Hi Feng,
    You could take a look at the Blog I once posted with its attached Wiki Page where I placed the Source code. You will find it here:
    A Change Password Application
    However I customized it for a different reason. You can modify the application to add in your business logic.
    Let me know if you need more help.
    Hope this helped.
    Prem

  • I received and email from Apple Customer Support that my Id has been stolen and that I am to sign into the link provided and update by changing password. I am not certain that the email came from Apple.

    I received and email from Apple Customer Support that my Id has been stolen and that I am to sign into the link provided and update by changing password. I am not certain that the email came from Apple.

    It did not come from Apple. Do not click on the link and do not supply your password. It is a scam. You can report the phishing email to Apple here:
    Phishing & Other Suspicious Emails
    Once you have done so, delete it.
    Cheers,
    GB

  • Standard Error Messages in Custom Change Password Screen

    Hi All,
    I've developed a custom change password screen in Web Dynpro. I want to use the standard messages that appear in the portal logon screen. I looked in the portal logon par and got the umelogonbase.jar and found in my eclipse dir the com.sap.security.core.jar wich this last one depends. I put then in an externallib and wrapped them in a JEE lib. Declared dependency from my WD DC to the JEE lib and added the library reference in the WD DC.
    I have the following code:
    try {
         IUserAccount userAcc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(wdContext.currentInfoElement().getLogon());
         userAcc.setPassword(wdContext.currentInfoElement().getOldPassword(), wdContext.currentInfoElement().getNewPassword());
    } catch (UMException e) {
         e.printStackTrace();
         error = true;
         LogonMessageBean bean = new LogonMessageBean(WDClientUser.getLoggedInClientUser().getLocale());
         String msg = bean.print(new Message(e.getMessage()));
         wdComponentAPI.getMessageManager().reportWarning(msg);
    But when I try to execute my app I get the following exception:
       java.lang.VerifyError: (class: com/cafedecolombia/ols/um/ChangePassword, method: test signature: ()V) Incompatible object argument for function call
        at com.cafedecolombia.ols.um.wdp.InternalChangePassword.(InternalChangePassword.java:109)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        ... 28 more
    Does anyone has successfully done this? Is there any other dependencies? Is there an EASIER way to do this? Is there any initialization needed?
    Any help will be highly appreciated.
    Regards,
    Andrés Acero

    Ok so here is how I solved it.
    I found this very interesting article called "SAP Authentication Guideline" and there the author mentions that the messages are defined in class SecuritPolicy of the core security jar. So with that in mind this is how my code finally worked out:
    try {
         IUserAccount userAcc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(wdContext.currentInfoElement().getLogon());
         IUserAccount mutableUserAcc = UMFactory.getUserAccountFactory().getMutableUserAccount(userAcc.getUniqueID());
         mutableUserAcc.setPassword(wdContext.currentInfoElement().getOldPassword(), wdContext.currentInfoElement().getNewPassword());
         mutableUserAcc.commit();
    } catch (UMException e) {
         e.printStackTrace();
         error = true;
         ISecurityPolicy policy = SecurityPolicyFactory.getInstance().getSecurityPolicy();
         wdComponentAPI.getMessageManager().reportWarning(policy.getLocalizedMessage(WDClientUser.getLoggedInClientUser().getLocale(), e));
    Here is a link to the article on SDN:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/599ab890-0201-0010-12a1-b988e3a09735
    If you have any comments please do.
    Cheers,

  • Trying to change reset my Apple ID as I can't remember it, however it is sending an email which says invalid link or a list with the option to change password which can't be clicked on? Can anybody please help?

    Trying to change reset my Apple ID as I can't remember it, however it is sending an email which says invalid link or a list with the option to change password which can't be clicked on? Can anybody please help? Going around in circles! Grrrrrrrrrrr

    Is this your machine or the company's?  Machines that came with Snow Leopard or earlier installed come with system and software install disks that can be used to reisntall the iApps that came with the machine orignally. 
    If this is your machine and it came with Snow Leopard or earlier installed the disk will look slimialr to one of these:
    If it is the company's machine see if they have the disks.
    Do a custom install and then use Software Update to update iPhoto to the highest version that is available.

  • Going to change password page from link in application

    We don't intend to give our users access to the OID self-service console, but we do want a "change password" button in the SSO partner app. I've written a change password page according to spec and it's plugged into the configuration database, but the question is, how do I invoke it from a link?

    You mean "Customizing the Single Sign-On Interface?
    What that says is "The WWSSSO_APP_USER_MGR.CHANGE_PASSWORD routine is invoked", which, I presumed, in this context means using the URL I found.
    As I said, I can't see how to do this from an external site without making a nasty hole in the firewall. How would you "invoke" WWSSSO_APP_USER_MGR.CHANGE_PASSWORD from a servlet or the like?
    The only idea I could come up with is for the servlet to copy the SSO headers an make it's own URLConnection to the directory interface. That seems improbably clumbsy, and would require me to change the password change page to (in order to relay the results in a similar fashion).

  • I have a new email and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address

    i have a new email so have a new apple ID now and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address. help!

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    You will need to show patience with the procedure and be prepared to demonstrate without question that the account belongs to you. Don’t expect access to be restored immediately and if you aren’t the owner of the Apple ID registered to the device the account won’t be reset.
    This is answer is provided from my own database of boilerplate responses and the content was last reviewed and/or tested on: 2014/12/18

Maybe you are looking for