[Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.

Bidhubhusan Rout bidhubhusan.rout at ilantus.com
Mon Aug 25 14:23:04 CEST 2014


Hi Team and Pavol,





    I am Bidhubhusan, following these two steps. Thank you Pavol, for your suggestion.

1. provideing the OID instead of user name.

2. And using  midPoint 3.1-SNAPSHOT . but still getting the same error. and i am now attaching (th java file and the error i got)


so please give me any solution to make the exception free.




Thanks


Bidhubhusan


________________________________
From: Pavol Mederly <pavol.mederly at gmail.com>
Sent: 23 August 2014 21:17
To: midpoint-dev at lists.evolveum.com
Cc: Bidhubhusan Rout
Subject: Re: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.

Hello Bidhubhusan,

I have two suggestions for you:

(1) When calling "changeUserPassword" method, you have to provide user OID, not the user name, e.g.

changeUserPassword(modelPort, "39732747-3378-4bba-a805-219cf15ad5ea", "abcdefgh11");

If you do not know the name, use something like searchUserByName method (see model-client-sample).

(2) There were some fixes in midPoint WS since 3.0, so, to be safe, use the current snapshot. I have verified that after change described in (1), your client program works correctly against midPoint 3.1-SNAPSHOT.

Best regards,
Pavol



Hi Team (midpoint-dev),


         I am Bidhubhusan , try to develop the java code in my local system , using (eclipse, jdk7) to change user password of midpoint(3.0) user, and facing some issues to execute my code . and attach the java code and the exception i am getting.

I am using:

                Eclipse-juno

                jdk7, jre7

                midpoint-3.0


    so find the code and try to give me some solution as soon as possible to my mail-id ( bidhubhusan.rout at ilantus.com<mailto:bidhubhusan.rout at ilantus.com> ).




Thanks and Regards


Bidhubhusan

This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


_______________________________________________
midPoint-dev mailing list
midPoint-dev at lists.evolveum.com<mailto:midPoint-dev at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint-dev


This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140825/a89c854f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangePassTest3_1.java
Type: application/octet-stream
Size: 5326 bytes
Desc: ChangePassTest3_1.java
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140825/a89c854f/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ERROR12.txt
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140825/a89c854f/attachment.txt>


More information about the midPoint-dev mailing list