<div dir="ltr">The usersExportStrategy as stated in the docs is only used by the dir provider, hence why it's hard-coded in the single file export provider. I can't see why it couldn't be supported though.<div><br></div><div>Marek - is there any good reason why singlefileexport could support skipping users?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 May 2016 at 03:28, Fabricio Milone <span dir="ltr"><<a href="mailto:fabricio.milone@shinetech.com" target="_blank">fabricio.milone@shinetech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi devs,<div><br></div><div>I've been working with some realm configurations and today I wanted to export all my work to a file so I tried to follow this:</div><div><br></div><div><a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html</a></div><div><br></div><div>After some failed attempts due to my custom federator, I've decided to SKIP users from the export using the SKIP property as described in the documentation but it didn't work at all, so I've checked the code that is performing the export action and found that the usersExportStrategy is not being taken from the configuration but it is just set to TRUE instead.</div><div><br></div><div>Look at the lines 65 and 83 in this file:</div><div><br></div><div><a href="https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/exportimport/singlefile/SingleFileExportProvider.java" target="_blank">https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/exportimport/singlefile/SingleFileExportProvider.java</a><br clear="all"><div><br></div><div>For now, I've just modified the code locally to get the configuration correctly from the property I am passing at startup (like MultipleStepsExportProvider.java is doing), but I would like to contribute with a PR if necessary.</div><div><br></div><div>Is there any reason to not do this?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div>Fabricio</div><div><br></div>-- <br><div><div dir="ltr"><div><span style="font-size:12.8px;font-family:Verdana,Arial,Helvetica,sans-serif"><b><font color="#000000">Fabricio Milone</font></b></span></div><div><span style="font-size:12.8px;font-family:Verdana,Arial,Helvetica,sans-serif"><font color="#000000">Developer</font></span></div><span style="font-size:12.8px;font-family:Verdana,Arial,Helvetica,sans-serif"><b><font color="#009900"><div><span style="font-size:12.8px;font-family:Verdana,Arial,Helvetica,sans-serif"><b><font color="#009900"><br></font></b></span></div>Shine Consulting </font></b></span><span style="font-size:12.8px;font-family:Verdana,Arial,Helvetica,sans-serif"><p style="font-size:13.3px;color:rgb(0,153,0);margin:0pt"><span style="color:rgb(0,0,0)">30/600 Bourke Street</span></p><p style="font-size:13.3px;color:rgb(0,153,0);margin:0pt"><span style="color:rgb(0,0,0)">Melbourne VIC 3000</span></p><p style="font-size:13.3px;color:rgb(0,153,0);margin:0pt"><span style="color:rgb(0,0,0)">T: 03 8488 9939</span></p><p style="font-size:13.3px;color:rgb(0,153,0);margin:0pt"><span style="color:rgb(0,0,0)">M: 04 3200 4006</span></p><p style="font-size:13.3px;color:rgb(0,153,0);margin:0pt"><span style="color:rgb(0,0,0)"><br></span></p></span><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:13.3px"><p style="margin:0pt"><a href="http://www.shinetech.com/" style="color:rgb(51,51,51)" target="_blank">www.shinetech.com</a><font color="#333333"> </font><i style="color:rgb(51,51,51)"><b>a</b></i><font color="#333333"> passion for excellence</font></p></span></span></div></div>
</div></div>
<br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>