NAM Identity Server acting as SAML2 SP not sending configured forceAuthn parameter

  • 7017836
  • 12-Jul-2016
  • 22-Jul-2016


NetIQ Access Manager 4.1
NetIQ Access Manager 4.2
Access Manager Identity Server on Windows and Linux


We have Access Manager setup with an Access Gateway (AG) protecting Web servers/services and communicating with Identity Server (IDP) using liberty, where users can authenticate locally or via 3rd State level Identity servers using SAML2 (where NAM IDP acting as SAML2 SP).

Part of the requirements for authentication to the State level IDP is that the forceAuthn parameter must be enabled ie. set to true. There's a configuration setting in NAM when setting up remote SAML IDP server and this works fine ie. if I initiate a SAML AuthnRequest from the NAM IDP server to the Gov IDP server, all works fine and the forceAuthn parameter is set to true.

A problem exists however when the user initiates the AuthnRequest from the AG - the user tries to access the AG protected resource, is redirected to the NAM IDP server where an external contract is executed redirecting the user to the State Identity Server. In the case where we have an external contract on AG, which sends the Liberty AuthnRequest to the NAM IDP server, the forceAuth setting is always set to false, with no option to enable it. The AG sends the following AuthnRequest to Liberty IDP server

with the ForceAuth parameter disabled - set to false. When we then proxy the SAML request to the remote IDP server, we set the forceAuthn parameter to false even though it is enabled for that IDP config

<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" AssertionConsumerServiceURL="" AttributeConsumingServiceIndex="0" Consent="urn:oasis:names:tc:SAML:2.0:consent:unavailable" Destination="" ForceAuthn="false" ID="idz6qdoZfGzcjxNpMyxoxsGIK6g5Q" IsPassive="false" IssueInstant="2016-04-29T15:16:18Z" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Version="2.0"><saml:Issuer></saml:Issuer>

We need to be able to set the forceAuthn parameter to true when using external contracts.


Fixed in 4.2.2.

The new code looks at the forceAuthn option configuration on the NAM IDP server for the 3rd party SAML Identity Provider, and always applies this to the proxied AuthnRequest.