Thanks! I tried your suggestion and it works just fine.<br><br>I appreciate your response!<br><br>Dave<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 1:04 PM, Peter Schober <span dir="ltr">&lt;<a href="mailto:peter.schober@univie.ac.at">peter.schober@univie.ac.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* David Massie &lt;<a href="mailto:dhm24@georgetown.edu">dhm24@georgetown.edu</a>&gt; [2012-03-07 18:25]:<br>
<div class="im">&gt; Once I have the metadata available, I want to get the entityId and use<br>
&gt; it&#39;s value to determine branding.<br>
<br>
</div>Actually it&#39;s the other way round: the loginContext gets you the<br>
entityId and from that you /could/ lookup metadata for the entity.<br>
So after getting the loginContext (as shown in the example you quoted)<br>
it would be as simple as:<br>
<br>
String entityId = loginContext.getRelyingPartyId();<br>
<br>
Now entityId contains the entityId of the SP,<br>
-peter<br>
<div class="HOEnZb"><div class="h5">--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br>