No error code available via getAttribute(NIDPConstants.ATTR_ERR) after Upgrade to 4.1

  • 7016737
  • 06-Aug-2015
  • 06-Aug-2015


NetIQ Access Manager 4.0
NetIQ Access Manager 4.1


Access Manager Identity server using custom login pages with a method similar to to redirect a User to an other login-page if user does not have an x509 certificate. They used the following code:
String strTypeError = handler.getResource(JSPResDesc.MSG_MESSAGE_TYPE_ERROR);
String error = (String) request.getAttribute(NIDPConstants.ATTR_ERR);
As per KB 7012488 they logic in the custom code searches for: "NIDPLOGGING.200104001" within NIDPConstants.ATTR_ERR. With 4.0, all worked fine and the logic proceeded as expected. With 4.1, the same code does not appear to receive the error-code anymore, but simply references the NIDPMAIN.2390 string within /opt/novell/nids/lib/webapp/WEB-INF/classes/ ie. it displays the following message instead

"An error occurred during User Certificate Authentication. Please contact the Helpdesk".

Why is it that the
error code available in NAM 4.0 is not generated with NAM 4.1? 


Modify the x509 class, and add the property enableErrJsp with value true.