From shelly.piplani at ilantus.com Mon Nov 3 16:10:19 2014 From: shelly.piplani at ilantus.com (Shelly Piplani) Date: Mon, 3 Nov 2014 15:10:19 +0000 Subject: [Midpoint-dev] Issues in creating approval workflow In-Reply-To: <54528096.4050801@evolveum.com> References: <1412782679755.62931@ilantus.com> <54364A52.1040201@gmail.com> <87ce77fcce2b4318a7eb2b2663d24344@HKXPR06MB232.apcprd06.prod.outlook.com> <1414672702643.68497@ilantus.com>, <394716089.863752.1414676638590.JavaMail.zimbra@evolveum.com> <1414677099280.52328@ilantus.com>,<54528096.4050801@evolveum.com> Message-ID: <1415027418763.93968@ilantus.com> Hi , Request you to provide help on this issue. Attached is the role scipt and also the logs for the reference. Regards, Shelly ________________________________ Hi Pavol, I have increased the log level. Attached is the log file for reference and also the SensitiveRole3 script which I am trying to assign to the user. The error I am receiving in the logs is : groovy.lang.MissingPropertyException: No such property: user for class: Script7 (new) approverExpression com.evolveum.midpoint.util.exception.ExpressionEvaluationException: groovy.lang.MissingPropertyException: No such property: user for class: Script7 (new) approverExpression at com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr223ScriptEvaluator.evaluate(Jsr223ScriptEvaluator.java:124) ~[model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:108) ~[model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.script.ScriptExpressionEvaluator.transformSingleValue(ScriptExpressionEvaluator.java:58) [model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator.evaluateScriptExpression(AbstractValueTransformationExpressionEvaluator.java:276) [model-common-3.0.jar:na] Looks like we need to define this user variable which I am using in the script of SensitiveRole3. But not sure how to exactly define that. Please provide your inputs for the same. Regards, Shelly ________________________________ From: Sai Chandra Sent: 09 October 2014 21:41 To: Shelly Piplani Subject: RE: [Midpoint-dev] Issues in creating approval workflow Thanks and Regards Saichandra.T From: midPoint-dev [mailto:midpoint-dev-bounces at lists.evolveum.com] On Behalf Of Pavol Mederly Sent: 09 October 2014 14:12 To: midpoint-dev at lists.evolveum.com Subject: Re: [Midpoint-dev] Issues in creating approval workflow Shelly, you (and I as well) need the stack trace for the error you've mentioned. Stack traces are written to the log if the logging is at DEBUG or TRACE levels. So, set you debug level to TRACE for Workflow module, try again, and post the log here. Best regards, Pavol On 8. 10. 2014 17:37, Shelly Piplani wrote: Hi , I am trying to create approval workflow. Ihave created a manager for an Organisation Unit and created a role called SensitiveRole3 as given in the following link: https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml [https://avatars3.githubusercontent.com/u/6286905?v=2&s=400] midpoint/sensitive-role-3.xml at master · Evolveum/midpoint · GitHub midpoint - MidPoint Identity Manager Read more... However, I have removed the following from the role: If the user works in F0006 (Scumm Bar), the assignment of this role is automatically approved for him. After assigning that Organisation unit to the user, I am trying to assign SensitiveRole3 to this user. I am getting the following error in idm logs: 2014-10-08 20:53:21,861 [MODEL] [http-8008-5] ERROR (com.evolveum.midpoint.wf.impl.jobs.JobController): Couldn't send a request to start a process instance to workflow management system, reason: Couldn't evaluate approvers expressions 2014-10-08 20:53:21,910 [MODEL] [http-8008-5] ERROR (com.evolveum.midpoint.wf.impl.processors.primary.PrimaryChangeProcessor): Workflow process(es) could not be started, reason: Workflow process instance creation could not be requested. Please provide your inputs on this. Regards, Shelly 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 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. 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 http://lists.evolveum.com/mailman/listinfo/midpoint-dev -- Ing. Ivan Noris Senior Identity Management Engineer evolveum.com ___________________________________________ "Idem per idem - semper idem Vix." 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. -- Ing. Ivan Noris Senior Identity Management Engineer evolveum.com ___________________________________________ "Idem per idem - semper idem Vix." 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: idm.log Type: application/octet-stream Size: 117088 bytes Desc: idm.log URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sensitive role3.txt URL: From pavol.mederly at gmail.com Fri Nov 7 11:09:18 2014 From: pavol.mederly at gmail.com (Pavol Mederly) Date: Fri, 07 Nov 2014 11:09:18 +0100 Subject: [Midpoint-dev] Issues in creating approval workflow In-Reply-To: <1415027418763.93968@ilantus.com> References: <1412782679755.62931@ilantus.com> <54364A52.1040201@gmail.com> <87ce77fcce2b4318a7eb2b2663d24344@HKXPR06MB232.apcprd06.prod.outlook.com> <1414672702643.68497@ilantus.com>, <394716089.863752.1414676638590.JavaMail.zimbra@evolveum.com> <1414677099280.52328@ilantus.com>, <54528096.4050801@evolveum.com> <1415027418763.93968@ilantus.com> Message-ID: <545C9A4E.1070609@gmail.com> Hello Shelly, it took me some time to look at this. The problem is with outdated wiki documentation - I apologize for that. I've updated it, see https://wiki.evolveum.com/display/midPoint/Some+examples. Basically, you have to change *user -> object* and that's it. Please note, however, that in order to recognize user as a Org manager, it is necessary to have the following defined for him (taken from samples/org/org-monkey-island-simple.xml): ** And, if a user has no managers, the role assignment will be automatically approved, as described on the wiki page. (There was a bug related to automatic approvals that prevented them from being applied succesfully. It's been fixed yesterday in the master branch: https://github.com/Evolveum/midpoint/commit/c96f38b0262da8cfb3861379d10b7af44a1ba2fe.) Best regards, Pavol > > > Hi , > > Request you to provide help on this issue. Attached is the role scipt > and also the logs for the reference. > > Regards, > Shelly > >> >> >> ------------------------------------------------------------------------ >> >> >> >> Hi Pavol, >> >> >> I have increased the log level. >> >> Attached is the log file for reference and also the >> SensitiveRole3 script which I am trying to assign to the user. >> >> The error I am receiving in the logs is : >> >> >> *groovy.lang.MissingPropertyException: No such property: user for >> class: Script7 (new) approverExpression* >> *com.evolveum.midpoint.util.exception.ExpressionEvaluationException: >> groovy.lang.MissingPropertyException: No such property: user for >> class: Script7 (new) approverExpression* >> at >> com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr223ScriptEvaluator.evaluate(Jsr223ScriptEvaluator.java:124) >> ~[model-common-3.0.jar:na] >> at >> com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:108) >> ~[model-common-3.0.jar:na] >> at >> com.evolveum.midpoint.model.common.expression.script.ScriptExpressionEvaluator.transformSingleValue(ScriptExpressionEvaluator.java:58) >> [model-common-3.0.jar:na] >> at >> com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator.evaluateScriptExpression(AbstractValueTransformationExpressionEvaluator.java:276) >> [model-common-3.0.jar:na] >> >> >> >> >> Looks like we need to define this user variable which I am using >> in the script of SensitiveRole3. But not sure how to exactly >> define that. >> >> >> Please provide your inputs for the same. >> >> >> >> Regards, >> >> Shelly >> >> ------------------------------------------------------------------------ >> *From:* Sai Chandra >> *Sent:* 09 October 2014 21:41 >> *To:* Shelly Piplani >> *Subject:* RE: [Midpoint-dev] Issues in creating approval workflow >> >> Thanks and Regards >> >> Saichandra.T >> >> *From:*midPoint-dev >> [mailto:midpoint-dev-bounces at lists.evolveum.com] *On Behalf Of >> *Pavol Mederly >> *Sent:* 09 October 2014 14:12 >> *To:* midpoint-dev at lists.evolveum.com >> *Subject:* Re: [Midpoint-dev] Issues in creating approval workflow >> >> Shelly, >> >> you (and I as well) need the stack trace for the error you've >> mentioned. Stack traces are written to the log if the logging is >> at DEBUG or TRACE levels. >> So, set you debug level to TRACE for Workflow module, try again, >> and post the log here. >> >> Best regards, >> Pavol >> >> On 8. 10. 2014 17:37, Shelly Piplani wrote: >> >> Hi , >> >> I am trying to create approval workflow. Ihave created a >> manager for an Organisation Unit and created a role called >> SensitiveRole3 as given in the following link: >> >> https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml >> >> >> >> >> >> midpoint/sensitive-role-3.xml at master · Evolveum/midpoint · >> GitHub >> >> midpoint - MidPoint Identity Manager >> >> Read more... >> >> >> However, I have removed the following from the role: >> >> >> >> If the user works in F0006 (Scumm Bar), the >> assignment of this role is automatically approved for >> him. >> >> >> >> >> >> >> After assigning that Organisation unit to the user, I am >> trying to assign SensitiveRole3 to this user. >> I am getting the following error in idm logs: >> >> >> 2014-10-08 20:53:21,861 [MODEL] [http-8008-5] ERROR >> (com.evolveum.midpoint.wf.impl.jobs.JobController): Couldn't >> send a request to start a process instance to workflow >> management system, reason: Couldn't evaluate approvers >> expressions >> 2014-10-08 20:53:21,910 [MODEL] [http-8008-5] ERROR >> (com.evolveum.midpoint.wf.impl.processors.primary.PrimaryChangeProcessor): >> Workflow process(es) could not be started, reason: Workflow >> process instance creation could not be requested. >> >> Please provide your inputs on this. >> >> Regards, >> Shelly >> >> 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 >> >> 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. >> 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 >> http://lists.evolveum.com/mailman/listinfo/midpoint-dev >> >> >> >> >> -- >> Ing. Ivan Noris >> Senior Identity Management Engineer >> evolveum.com >> ___________________________________________ >> "Idem per idem - semper idem Vix." >> 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. > > -- > Ing. Ivan Noris > Senior Identity Management Engineer > evolveum.com > ___________________________________________ > "Idem per idem - semper idem Vix." > 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. > > > _______________________________________________ > midPoint-dev mailing list > midPoint-dev at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From shelly.piplani at ilantus.com Fri Nov 7 11:26:59 2014 From: shelly.piplani at ilantus.com (Shelly Piplani) Date: Fri, 7 Nov 2014 10:26:59 +0000 Subject: [Midpoint-dev] Issues in creating approval workflow In-Reply-To: <545C9A4E.1070609@gmail.com> References: <1412782679755.62931@ilantus.com> <54364A52.1040201@gmail.com> <87ce77fcce2b4318a7eb2b2663d24344@HKXPR06MB232.apcprd06.prod.outlook.com> <1414672702643.68497@ilantus.com>, <394716089.863752.1414676638590.JavaMail.zimbra@evolveum.com> <1414677099280.52328@ilantus.com>, <54528096.4050801@evolveum.com> <1415027418763.93968@ilantus.com>,<545C9A4E.1070609@gmail.com> Message-ID: <1415356019133.76459@ilantus.com> ​Thanks Pavol.... I will test this and let you know the results.. Regards, Shelly ________________________________ From: midPoint-dev on behalf of Pavol Mederly Sent: 07 November 2014 15:39 To: midpoint-dev at lists.evolveum.com Subject: Re: [Midpoint-dev] Issues in creating approval workflow Hello Shelly, it took me some time to look at this. The problem is with outdated wiki documentation - I apologize for that. I've updated it, see https://wiki.evolveum.com/display/midPoint/Some+examples. Basically, you have to change user -> object and that's it. Please note, however, that in order to recognize user as a Org manager, it is necessary to have the following defined for him (taken from samples/org/org-monkey-island-simple.xml): And, if a user has no managers, the role assignment will be automatically approved, as described on the wiki page. (There was a bug related to automatic approvals that prevented them from being applied succesfully. It's been fixed yesterday in the master branch: https://github.com/Evolveum/midpoint/commit/c96f38b0262da8cfb3861379d10b7af44a1ba2fe.) Best regards, Pavol Hi , Request you to provide help on this issue. Attached is the role scipt and also the logs for the reference. Regards, Shelly ________________________________ Hi Pavol, I have increased the log level. Attached is the log file for reference and also the SensitiveRole3 script which I am trying to assign to the user. The error I am receiving in the logs is : groovy.lang.MissingPropertyException: No such property: user for class: Script7 (new) approverExpression com.evolveum.midpoint.util.exception.ExpressionEvaluationException: groovy.lang.MissingPropertyException: No such property: user for class: Script7 (new) approverExpression at com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr223ScriptEvaluator.evaluate(Jsr223ScriptEvaluator.java:124) ~[model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:108) ~[model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.script.ScriptExpressionEvaluator.transformSingleValue(ScriptExpressionEvaluator.java:58) [model-common-3.0.jar:na] at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator.evaluateScriptExpression(AbstractValueTransformationExpressionEvaluator.java:276) [model-common-3.0.jar:na] Looks like we need to define this user variable which I am using in the script of SensitiveRole3. But not sure how to exactly define that. Please provide your inputs for the same. Regards, Shelly ________________________________ From: Sai Chandra Sent: 09 October 2014 21:41 To: Shelly Piplani Subject: RE: [Midpoint-dev] Issues in creating approval workflow Thanks and Regards Saichandra.T From: midPoint-dev [mailto:midpoint-dev-bounces at lists.evolveum.com] On Behalf Of Pavol Mederly Sent: 09 October 2014 14:12 To: midpoint-dev at lists.evolveum.com Subject: Re: [Midpoint-dev] Issues in creating approval workflow Shelly, you (and I as well) need the stack trace for the error you've mentioned. Stack traces are written to the log if the logging is at DEBUG or TRACE levels. So, set you debug level to TRACE for Workflow module, try again, and post the log here. Best regards, Pavol On 8. 10. 2014 17:37, Shelly Piplani wrote: Hi , I am trying to create approval workflow. Ihave created a manager for an Organisation Unit and created a role called SensitiveRole3 as given in the following link: https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml [X] midpoint/sensitive-role-3.xml at master · Evolveum/midpoint · GitHub midpoint - MidPoint Identity Manager Read more... However, I have removed the following from the role: If the user works in F0006 (Scumm Bar), the assignment of this role is automatically approved for him. After assigning that Organisation unit to the user, I am trying to assign SensitiveRole3 to this user. I am getting the following error in idm logs: 2014-10-08 20:53:21,861 [MODEL] [http-8008-5] ERROR (com.evolveum.midpoint.wf.impl.jobs.JobController): Couldn't send a request to start a process instance to workflow management system, reason: Couldn't evaluate approvers expressions 2014-10-08 20:53:21,910 [MODEL] [http-8008-5] ERROR (com.evolveum.midpoint.wf.impl.processors.primary.PrimaryChangeProcessor): Workflow process(es) could not be started, reason: Workflow process instance creation could not be requested. Please provide your inputs on this. Regards, Shelly 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 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. 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 http://lists.evolveum.com/mailman/listinfo/midpoint-dev -- Ing. Ivan Noris Senior Identity Management Engineer evolveum.com ___________________________________________ "Idem per idem - semper idem Vix." 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. -- Ing. Ivan Noris Senior Identity Management Engineer evolveum.com ___________________________________________ "Idem per idem - semper idem Vix." 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. _______________________________________________ midPoint-dev mailing list 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: From bidhubhusan.rout at ilantus.com Fri Nov 7 12:26:40 2014 From: bidhubhusan.rout at ilantus.com (Bidhubhusan Rout) Date: Fri, 7 Nov 2014 11:26:40 +0000 Subject: [Midpoint-dev] User Validation for midpoint user( using userName and password) Message-ID: <1415359599561.19447@ilantus.com> Hi Pavol, I am working on changing the password for the midpoint user(midpoint-3.0/3.1), useing the Main.java ( midpoint-master\samples\model-client-sample\src\main\java\com\evolveum\midpoint\testing\model\client\sample\main.java) for that one. but We cann't validate the user with (user name and Password). Specially the Password validation. Please let us know how can I validate the user(using userName and Password). 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pavol.mederly at gmail.com Fri Nov 7 13:35:54 2014 From: pavol.mederly at gmail.com (Pavol Mederly) Date: Fri, 07 Nov 2014 13:35:54 +0100 Subject: [Midpoint-dev] User Validation for midpoint user( using userName and password) In-Reply-To: <1415359599561.19447@ilantus.com> References: <1415359599561.19447@ilantus.com> Message-ID: <545CBCAA.80307@gmail.com> Hello Bidhubhusan, actually, why do you want to validate a user via SOAP? If you want it for testing purposes only, it's OK. But if you want to authenticate users in this way in the production, this is definitely a wrong approach. See https://wiki.evolveum.com/display/midPoint/Provisioning+Interface+Abuse. Regards, Pavol On 7. 11. 2014 12:26, Bidhubhusan Rout wrote: > > Hi Pavol, > > > I am working on changing the password for the midpoint > user(midpoint-3.0/3.1), useing the M*ain.java* ( > midpoint-master\samples\model-client-sample\src\main\java\com\evolveum\midpoint\testing\model\client\sample\main.java) > for that one. but We cann't *validate*the *user *with (user > *name*and*Password*). > Specially the Password validation. > Please let us know how can I validate the user(using *userName and > Password*). > > 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharm.parakh at gmail.com Sat Nov 22 11:33:39 2014 From: dharm.parakh at gmail.com (dharmendra parakh) Date: Sat, 22 Nov 2014 16:03:39 +0530 Subject: [Midpoint-dev] Editing Role Resource Inducement Message-ID: Hi Everyone I just downloaded and started learning midpoint for my personal learning purpose. I really liked it and I am very excited to learn using it. I have a question about inducements in midpoint. I have created a role and configured it to induce a ldap resource with some ldap groups. Now I want to change the configured groups/resource information but i could not find the way to do it. Can you help me doing this or there is no such implementation in midpoint currently. Please help me with this let me know if you need more information on this. Thanks Dharmendra Parakh +91-9730648544 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharm.parakh at gmail.com Tue Nov 25 12:47:18 2014 From: dharm.parakh at gmail.com (dharmendra parakh) Date: Tue, 25 Nov 2014 17:17:18 +0530 Subject: [Midpoint-dev] Unable to execute Model-client-sample Message-ID: Hi I was trying to execute com.evolveum.midpoint.testing.model.client.sample.Main.java as specified here: https://wiki.evolveum.com/display/midPoint/Model+Web+Service+Client+Sample - I was able to clean, install and package it correctly, when i try to execute it from command line i get an error: C:\Users\Dharmendra\git\midpoint\samples\model-client-sample>mvn exec:java -Dexec.mainClass="com.evolveum.midpoint.testing.model.client.sample.Main" [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building midPoint Samples - Model client sample 3.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ model-client-sample --- [WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6. Endpoint URL: http://**:8080/midpoint/model/model-3 javax.xml.ws.soap.SOAPFaultException: The message has expired at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:159) at com.sun.proxy.$Proxy70.getObject(Unknown Source) at com.evolveum.midpoint.testing.model.client.sample.Main.getConfiguration(Main.java:189) at com.evolveum.midpoint.testing.model.client.sample.Main.main(Main.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.cxf.binding.soap.SoapFault: The message has expired Can anybody assist me with this. I am executing the code from my local machine and midpoint is installed on my server which is accessible from my machine. Regards Dharmendra -------------- next part -------------- An HTML attachment was scrubbed... URL: