Skip to Content.
Sympa Menu

mace-opensaml-users - Bug in RequestedAuthnContextBuilder

Subject: OpenSAML user discussion

List archive

Bug in RequestedAuthnContextBuilder


Chronological Thread 
  • From:
  • To:
  • Subject: Bug in RequestedAuthnContextBuilder
  • Date: Tue, 18 Sep 2007 11:12:17 -0400 (EDT)

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