<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Just fixed this in branch 1.9.x and master now. Will be in next
release.<br>
<br>
<div class="moz-cite-prefix">On 3/25/2016 3:02 PM, Gabriel Lavoie
wrote:<br>
</div>
<blockquote
cite="mid:CAKp1Nw4oA7KYRNX8jBPcGdZ8pLk076SW2JKuWWmgjzyMa_gh_A@mail.gmail.com"
type="cite">
<div dir="ltr">I did it through both the admin console and the
RealmResource.convertClientDescription(<xml SP metadata>)
API to retrieve a ClientRepresentation object with the same
result.
<div><br>
</div>
<div>As I see, in the UI, the "email", "transient" and
"persistent" formats could be auto-detected. A fallback to
"username" if the value isn't recognized would be an
acceptable behavior. </div>
<div><br>
</div>
<div>Gabriel</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-03-25 13:52 GMT-04:00 Bill Burke <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> You imported a SAML
SP metadata XML file into the admin console? IIRC, I
didn't populate this because multiple nameID formats are
allowed to be specified. Guess I should just pick one at
least.
<div>
<div class="h5"><br>
<br>
<div>On 3/25/2016 10:43 AM, Gabriel Lavoie wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hi,
<div> I'm trying to pre-configure a SAML 2.0
SP/Client in a realm with the upload of its
metadata in XML format. The metadata I have
currently tells that it wants the e-mail address
as the NameIdFormat:</div>
<div><br>
</div>
<div><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat></div>
<div><br>
</div>
<div>After uploading the metadata, the Name ID
Format attribute is set to "username" which
seems to be the default value.</div>
<div><br>
</div>
<div>Tested with 1.8.0 and 1.9.1</div>
<div><br>
</div>
<div>Is this the expected/desired behavior or this
is something that Keycloak could extract?</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Gabriel</div>
<div>
<div><br>
</div>
-- <br>
<div>Gabriel Lavoie<br>
<a moz-do-not-send="true"
href="mailto:glavoie@gmail.com"
target="_blank">glavoie@gmail.com</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
keycloak-user mailing list
<a moz-do-not-send="true" href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre cols="72">--
Bill Burke
JBoss, a division of Red Hat
<a moz-do-not-send="true" href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Gabriel Lavoie<br>
<a moz-do-not-send="true" href="mailto:glavoie@gmail.com"
target="_blank">glavoie@gmail.com</a></div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
</body>
</html>