Skip to Content.
Sympa Menu

mace-opensaml-users - AuthnRequestImpl and setForceAuthn(Boolean)

Subject: OpenSAML user discussion

List archive

AuthnRequestImpl and setForceAuthn(Boolean)


Chronological Thread 
  • From: "Giuseppe Sarno" <>
  • To: "OpenSAML" <>
  • Subject: AuthnRequestImpl and setForceAuthn(Boolean)
  • Date: Thu, 26 Oct 2006 22:23:06 +0100


Hi while using the library for an authnrequest I noticed the ForceAuth
though set remains null.
This is the setForceAuthn as defined in AuthnRequestImpl. (TP2)

/**
{@inheritDoc}
*/
public void setForceAuthn(Boolean newForceAuth){
if(newForceAuth == null){
forceAuthn = prepareForAssignment(forceAuthn, new
XSBooleanValue(newForceAuth, false));
}else{
forceAuthn = prepareForAssignment(forceAuthn, null);
}
}

Should the else part be something like this ?

forceAuthn = prepareForAssignment(forceAuthn, new
XSBooleanValue(newForceAuth, forceAuthn.booleanValue());

Thanks.
Giuseppe.



Archive powered by MHonArc 2.6.16.

Top of Page