mace-opensaml-users - Bug in RequestedAuthnContextBuilder
Subject: OpenSAML user discussion
List archive
- 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
- Bug in RequestedAuthnContextBuilder, hanswijnsouw, 09/18/2007
- Re: Bug in RequestedAuthnContextBuilder, Brent Putman, 09/18/2007
Archive powered by MHonArc 2.6.16.