on 10-16-2008 3:30 PM
Hi Gurus,
We are on EP7 / ECC 6
Clients wanted to reset their passwords from the logon screen. I have enabled the get support link in logon page.But unfortunately in my company every user doesn't have e-mail. So the requirement is, when the user gives uid, lastname, first name on the password reset screen it should reset to default password.(reset to lastname + last four digits of SSN). I wrote a seperate webdynpro applicaiton which pulls the ssn from R/3 and does this.
SAP provides web dynpro application for password reset. Initially i thought I could modify existing application. But as i couldn't get the source and I am not sure how to get the current executable to NWDS, I started creating new web dynpro app.
Now I wanted to place my webdynpro for get_support link. I know where to change it but not sure how to change it. I have two options:
1. The link is hard coded in LogOnBean java of umelogonbase.jar. I have decompiled this classfile and I can replace the link with my application link, but I am not able to compile it(as a standalone java from command prompt) back as some packages are missing(two packages are missing, I couldn't get them and place them in my class path). I tried doing it thru NWDS but I am not sure of the process.(I down loaded the jadclipse decompiler plug in to NWDS but some how I am not able to change).
2. I think I can modify the UMLogonPage.jsp, where in once jsp got the url string from logonbean.java, I wanted to do cosmetic changes to this url and replace the substring with my url. But I wanted to test it, before I can pack as jar and then par and deply it. How could I test this jsp page? how could I make sure that what I am doing is correct before the actual deployment??
Can some one please suggest? please suggest me some easy way of doing it.
Thank You,
Hari.
I implemented the solution I proposed in the thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
I just modified the umLogonPage.jap. Just changed one line of code:
Original statement :
logonBean.getLogonURL(proxy,"gotoHelpPage=")
replaced this with:
logonBean.getLogonURL(proxy,"gotoHelpPage=").replaceAll("webdynpro/dispatcher/sap.com/tc~sec~ume~wd~enduser/LogonHelpApp","webdynpro/dispatcher/mycompany.com/pwdrst/PasswordResetApp")
Hope this helps. Let me know if you need anything else.
Thank You,
Hari.
Edited by: Harikrishna Gurram on Oct 29, 2008 8:41 PM
Hi Hari Krishna,
I have to do label changes on the logonhelpapp. Looking to get the executables into NWDS and do it. Can we do that? Or for changing labels also we need to create new webdynpro application?
Can you please let me know how did u create the webdynpro application and what RFC's u ussed to get the functionality work with your custom webdynpro?
Thanks,
KML
Hi,
what I'm saying is, remove the get support link from the logon page and add a new link to your application
.../webdynpro/dispatcher/namespace/YourApp
hope this help you
regards
DV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, Assume that I have modified the jsp page. I have placed this link in the jsp page. How could I test that it is working with out deploying it. Is there any way?? When I was doing development with websphere I used to have the option to run the jsp, "right click jsp and select 'run on server'". How could I do it when I am using NWDS?
Thank You,
Hi All,
Can anybody answer this. I find difficulty in modifying the Java files, I am thinking of placing the following statement umlogonpage.jsp:
Original statement in Jsp is:
<a class=urLnk href="<%=logonBean.getLogonURL(proxy,"gotoHelpPage=")%>">
I am thinking of replacing it with:
<a class=urLnk href="<%=logonBean.getLogonURL(proxy,"gotoHelpPage=").replaceAll("webdynpro/dispatcher/sap.com/tcsecumewdenduser/LogonHelpApp","webdynpro/dispatcher/abc.com/pwdrst/PasswordResetApp")%>">
Do you think It will work??
Thanks,
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.