Display target url - login.jsp

daniel rahmeh daniel.rahmeh at gmail.com
Fri Dec 14 08:54:49 EST 2012


Thank you Kevin,

what i need exactly is the target url rather than the RelyingParty ID.
I would like to be able to distinguish two different applications
using the same Relyparty ID.

let's say https://sp.example.com/mysite1/ and https://sp.example.com/mysite2/.
/mysite1/ and /mysite2/ are what i'm really trying to get in the login page.

i'll take a look on the idpui as you suggest.

Thanks again

On Fri, Dec 14, 2012 at 2:34 PM, Kevin P. Foote <kpfoote at iup.edu> wrote:
>
> On Fri, 14 Dec 2012, daniel rahmeh wrote:
>
> ->
> -> I'm looking for something like <%= SomeClass.getTargetUrl() %>
>
> Not sure about getting at the actual target url but you can access the
> entityId if you have your loginContext object.
>
>
> String resourceId=loginContext.getRelyingPartyId()
>
> You can also use the idpui stuff which I have not converted over to using
> just yet.. but that should be another way to get the entityId / RPid. The
> idpui should be what is visible in the default login.jsp page.
>
>
> ------
> thanks
>   kevin.foote
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list