Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] missing loginContext.getRelyingPartyId()

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] missing loginContext.getRelyingPartyId()


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] missing loginContext.getRelyingPartyId()
  • Date: Thu, 19 Feb 2009 06:45:23 +0100
  • Openpgp:
  • Organization: SWITCH

Please see all the recent posts about this.

The short answer is that there is no supported way to do this.

Jukka Hakosalo wrote:
> Hello,
>
> We are starting to use idp version 2.1. It uses Tomcat's form
> authentication. Where can I find the information, which sp is trying
> to contact our idp?
> Our idp1.3 gets that information from a SSO request:
>
> https://idp.com/shibboleth/SSO?providerId=THIS_HERE&target...
>
> Our new idp also uses tomcat's form login. I've been trying to catch
> that missing providerId-paramater like this:
>
> LoginContext loginContext =
> (LoginContext)request.getAttribute(LoginContext.LOGIN_CONTEXT_KEY);
> String entityId = loginContext.getRelyingPartyId();
>
> This code was in login.jsp and then in tomcats
> formauthentication-class. LoginContext is null.
>
> Regards,
> Jukka

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page