Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Bug in RequestedAuthnContextBuilder

Subject: OpenSAML user discussion

List archive

Re: Bug in RequestedAuthnContextBuilder


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: Bug in RequestedAuthnContextBuilder
  • Date: Tue, 18 Sep 2007 16:14:50 -0400

Yes, correct, thanks. Fixed in SVN in r1095.



wrote:
> Hello,
>
> I found a bug in class RequestedAuthnContextBuilder.
>
> The QName must be :
> {urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContext
>
> but is actualy :
> {urn:oasis:names:tc:SAML:2.0:assertion}RequestedAuthnContext
>
> I think the adjustment must be:
>
> /**
> {@inheritDoc}
> */
> public RequestedAuthnContext buildObject() {
> /* OLD
> return buildObject(SAMLConstants.SAML20_NS,
> RequestedAuthnContext.DEFAULT_ELEMENT_LOCAL_NAME,
> SAMLConstants.SAML20_PREFIX);
> OLD */
> return buildObject(SAMLConstants.SAML20P_NS,
> RequestedAuthnContext.DEFAULT_ELEMENT_LOCAL_NAME,
> SAMLConstants.SAML20P_PREFIX);
> }
>
> Regards,
> Hans Wijnsouw
>



Archive powered by MHonArc 2.6.16.

Top of Page