<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Carlos,</div><div><br></div><div>probably you already solved the issue on your own, but at least I updated the documentation for self-registration process. I described the different scenarios in more depth. You can read about it here:</div><div><a href="https://wiki.evolveum.com/display/midPoint/Self+Registration+Configuration" style="font-size: 12pt;">https://wiki.evolveum.com/display/midPoint/Self+Registration+Configuration</a></div><div><br></div><div>Briefly, the problem is, that with your configuration you enforce the existence of the user in midPoint for registration process. It is configured with the attribute</div><div><br></div><div><span style="font-family: monospace;" data-mce-style="font-family: monospace;"><requiredLifecycleState>proposed</requiredLifecycleState></span></div><div><span style="font-family: monospace;" data-mce-style="font-family: monospace;"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">So, if you remove this attribute, your registration process will work.</span></div><div><br></div><div><span name="x"></span>Best regards,<br><div><br></div>Katarina Valalikova<br>Java Developer<br>evolveum.com<span name="x"></span><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Carlos Ferreira" <carlos18619@gmail.com><br><b>To: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>Sent: </b>Thursday, December 22, 2016 4:36:44 PM<br><b>Subject: </b>[midPoint] SELF-REGISTRATION - MIDPOINT 3.5<br><div><br></div><div dir="ltr"><div><div><div><div><div>Hi,<br><div><br></div></div>I am trying to configure self-registration on Midpoint 3.5 according to <br><div><br></div><br><a href="https://wiki.evolveum.com/display/midPoint/Self+Registration+Configuration" target="_blank">https://wiki.evolveum.com/display/midPoint/Self+Registration+Configuration</a><br><div><br></div><br>My Security Policy is as follows:<br><div><br></div><br><code><securityPolicy xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br> xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3" target="_blank">http://prism.evolveum.com/xml/ns/public/query-3</a>"<br> xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"<br> xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3" target="_blank">http://prism.evolveum.com/xml/ns/public/types-3</a>"<br> xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3</a>"<br> xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" target="_blank">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>"<br> oid="28bf845a-b107-11e3-85bc-001e8c717e5b"<br> version="3"><br> <name>Global Security Policy</name><br> <metadata><br> <createTimestamp>2016-12-22T13:03:27.065-02:00</createTimestamp><br> <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"><!-- administrator --></creatorRef><br> <createChannel><a href="http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</a></createChannel><br> </metadata><br> <authentication><br> <mailAuthentication><br> <name>confirmationLink</name><br> <displayName>Additional mail authentication</displayName><br> <mailNonce>mailNonce</mailNonce><br> </mailAuthentication><br> </authentication><br> <credentials><br> <nonce><br> <maxAge>PT10M</maxAge><br> <name>mailNonce</name><br> </nonce><br> </credentials><br> <registration><br> <selfRegistration><br> <name>selfRegistration</name><br> <initialLifecycleState>proposed</initialLifecycleState><br> <requiredLifecycleState>proposed</requiredLifecycleState><br> <displayName>Self Registration</displayName><br> <additionalAuthenticationName>confirmationLink</additionalAuthenticationName><br> <defaultRole oid="00000000-0000-0000-0000-000000000008" type="c:RoleType"><!-- End user --></defaultRole><br> </selfRegistration><br> </registration><br></securityPolicy><br><div><br></div><br></code></div><code>However, when a try to register a new user, after filling the attributes on screen, I receive the message<br><div><br></div></code><br>
<b class="gmail-box-title">Registration process not allowed. Please contact system administrator.<br><div><br></div></b></div><span class="gmail-box-title">In the IDM.LOG, this line is appended:</span><b class="gmail-box-title"><br><div><br></div>2016-12-22 13:35:12,092 [] [http-nio-8080-exec-23] ERROR (com.evolveum.midpoint.web.page.login.PageSelfRegistration): Registration not allowed for a user <a href="mailto:carlosaf@trt3.jus.br" target="_blank">carlosaf@trt3.jus.br</a> -> Unsatisfied Configuration for required lifecycle, expected proposed but was null<br><div><br></div></b></div><span class="gmail-box-title"><br>Thks in advance,<br><div><br></div><br></span></div><span class="gmail-box-title">Carlos<br></span></div>
<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>http://lists.evolveum.com/mailman/listinfo/midpoint<br></div><div><br></div></div></body></html>