Shibb branding question

Peter Schober peter.schober at univie.ac.at
Wed Mar 7 18:04:50 GMT 2012


* David Massie <dhm24 at georgetown.edu> [2012-03-07 18:25]:
> Once I have the metadata available, I want to get the entityId and use 
> it's value to determine branding.

Actually it's the other way round: the loginContext gets you the
entityId and from that you /could/ lookup metadata for the entity.
So after getting the loginContext (as shown in the example you quoted)
it would be as simple as:

String entityId = loginContext.getRelyingPartyId();

Now entityId contains the entityId of the SP,
-peter


More information about the users mailing list