shibboleth-dev - Re: Integration JUnit testing
Subject: Shibboleth Developers
List archive
- From: Tom Scavo <>
- To:
- Subject: Re: Integration JUnit testing
- Date: Fri, 26 Aug 2005 12:02:23 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KOakZOf8pnW25Y/EDmWghVn716/pp3REhbvV1kMWw+qbkZHif2efrmIqAJzgHXQAtn7OIynN1ceapMsTIVF3DsB1B1EeXffSzVEDC7rT2P49cAuf7fVjXC9u0U+VU18fN8TapG2cnHIEg+cvc6yR1OjKbx2QhdPZlrJyZKbdhJs=
On 8/24/05, Howard Gilbert
<>
wrote:
> > -----Original Message-----
> > okay, now I think I may remember why I didn't use Mock Objects...
> > mockrunner doesn't appear to have a simple way to specify a client
> > SSL certificate in the request. unless I'm overlooking something... ?
>
> First, I assume this question arises in the context of the AA or Artifact
> queries, which are the places where a client cert can matter.
>
> The answer (without putting it in a context) is that you set the
> "javax.servlet.request.X509Certificate" attribute of the
> MockHttpServletRequest object to point to an X509Cetificate[] that you get
> from the SP Credentials. Then you pass the request over to the Servlet in
> the IdP.
FWIW, such a test would be invaluable since client authn is a common
source of problems. This is exacerbated by the IdPs handling of
unauthenticated requests, that is, to fall back on the
defaultRelyingParty. This leads to further problems.
I don't understand how you intend to test the AA separate from the SSO
service. What NameIdentifier will you send the AA in the attribute
query?
Tom
- Integration JUnit testing, Howard Gilbert, 08/22/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/24/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/24/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/26/2005
- Re: Integration JUnit testing, Walter Hoehn, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- Re: Integration JUnit testing, Walter Hoehn, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- Re: Integration JUnit testing, Walter Hoehn, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Scott Cantor, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Scott Cantor, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/24/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
Archive powered by MHonArc 2.6.16.