cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Password Reset Webdynpro Application

Former Member
0 Kudos

Dear All,

I have enabled the Get Suport Link on Logon Page of my Enterprise Portal.

After I click on the Get Support Link, a Password Reset Webdynpro Application starts.

I want to change the look and feel of this Webdynpro Application.

How do I do it??

Kindly help.

Thank you,

Regards,

Disha.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Disha,

I am not sure wether its possible to customize password reset Webdynpro application,

Instead you can create your own change password application, create an iview & customize the logon par for accessing this application.

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0824360-ca0e-2e10-9495-c9deeb7e0d2d

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c09b9d-52e0-2d10-3981-86bfa8e19...

[logon customization|http://help.sap.com/saphelp_nw70/helpdata/en/43/fc3ae22adb025fe10000000a1553f7/content.htm]

Hope this helps you.

Regards,

Saleem Mohammad.

Former Member
0 Kudos

Dear Vijay and Saleem,

I am refering to Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java document provided by you.

I have imported "com.sap.security.api.UMFactory;" and m getting an error stating "The import com.sap.security cannot be resolved".

Kindly help.

Thank you,

Regards,

Disha.

Former Member
0 Kudos

Hi Disha,

Please add com.sap.security.api.sda from ENGINEAPI software component and check wether you are able to import this.

Hope this helps you.

Regards,

Saleem Mohammad.

Former Member
0 Kudos

Dear Saleem,

How do I do it.

Can you please guide me?

Thank you,

Regards,

Disha

Former Member
0 Kudos

Hi Disha,

If you are using NWDS 7.0 and development using a DC then go to DC Metadata - > Used DCs -> Right click & Add UsedDC.

Go to Active DC's -- > select the track --> Go to software component (ENGINE API) and add the corresponding security.api.sda file.

If you are using CE 7.1 then right click on DC and go to development component -> Show In -> Component properties --> go to dependencies tab --> click on add button --> add the corresponding security.api.sda file.

Hope this helps you.

Regards,

Saleem Mohammad.

Former Member
0 Kudos

Dear Saleem,

I could create a WebDynpro Application Properly.

When I executed it by filling in all the information, I got following error:

com.sap.security.api.UMRuntimeException: Maint method setAttribute cannot be used because the principal is not mutable!

at com.sap.security.core.imp.AbstractPrincipal.setAttributeValues(AbstractPrincipal.java:2009)

at com.sap.security.core.imp.AbstractPrincipal.setAttributeValues(AbstractPrincipal.java:1996)

at com.sap.security.core.imp.AbstractUserAccount.setPassword(AbstractUserAccount.java:1459)

at com.sap.security.core.imp.UserAccountWrapper.setPassword(UserAccountWrapper.java:276)

at com.sap.tutorial.PasswordResetView.resetPassword(PasswordResetView.java:182)

at com.sap.tutorial.PasswordResetView.onActionSubmit(PasswordResetView.java:242)

at com.sap.tutorial.wdp.InternalPasswordResetView.wdInvokeEventHandler(InternalPasswordResetView.java:159)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

Kindly help.

Thank you,

Regards,

Disha.

vijay_kumar49
Active Contributor
0 Kudos

Hi,

Please check it [this|; thread.

Hope this helps!!

Thanks & Regards

Vijay

Former Member
0 Kudos

Hi Disha,

Could you please refer this [link|/thread/161261 [original link is broken];.

It says how to use mutable user account and set the password.

IUserAccount iuacc = UMFactory.getUserAccountFactory().getMutableUserAccount(uacc.getUniqueID());
iuacc.setPassword(wdContext.currentContextElement().getNewPassword());

Hope this helps you.

Regards,

Saleem Mohammad.

Former Member
0 Kudos

Dear All,

Thank you so much for you replies.

I do not want the old password field to be present i.e I just want the UserID, New Password and Confirm New Password fields to be filled.

How do i achieve it??

Thank you,

Regards,

Disha.

former_member40425
Contributor
0 Kudos

If you don't old password field in your screen, then don't put respective UIs. It will not be available to user.

Former Member
0 Kudos

Dear Rohit,

Could you please elaborate.

Thank you,

Regards,

Disha.

vijay_kumar49
Active Contributor
0 Kudos

Hi ,

After I click on the Get Support Link, a Password Reset Webdynpro Application starts. In that Place u have to call this WDJAVA Application

[Reset the SAP Enterprise Portal Password Using Web Dynpro for Java|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c09b9d-52e0-2d10-3981-86bfa8e19dc3?quicklink=index&overridelayout=true]

Hope this helps!!

Regards

Vijay