Getting SP URL in login.jsp
Peter Schober
peter.schober at univie.ac.at
Tue Nov 12 11:36:47 EST 2013
* Peter Schober <peter.schober at univie.ac.at> [2013-11-12 17:31]:
> * Aravindhan A <apitest4 at gmail.com> [2013-11-12 17:19]:
> > I want to get the SP url in the IDP. i.e I want to get the url
> > (http://10.0.0.231/idp/) in login.jsp file.
>
> Re-reading that, No. The URL someone accessed at the SP is opaque to
> the IDP (the IdP get's sent something representing that as
> RelayState but you can't assume it's a URL, and in fact it shouldn't,
> due to space constraints).
Like Kevin said, the granularity of information the IdP has about the
SP is the the SP as a whole, i.e. its entityID. So if you need
differing behaviour at the IdP (any, really) for several resources at
the SP, you'll need to make those resources seperate logical SPs, with
their own entityIDs and SAML metadata.
-peter
More information about the users
mailing list