000025330 - FIM throws a NullPointerException parsing an attrname-format of type unspecified

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025330
Applies ToFederated Identity Management Module 3.1
IssueFIM throws a NullPointerException parsing an attrname-format of type unspecified

FIM throws the following error when processing an assertion.

java.lang.NullPointerException
at
com.rsa.fim.profile.attribute.AttributeHelper$AttributeBucket.isAttrNameFormatSupported(AttributeHelper.java:481)


This error occurs if there is no nameformat tag indicating the type of format used in the assertion.  This behaviour is not expected.  The SAML specification indicates that if no nameformat tag is associated with an attribute type the default format of ATTRNAME_FORMAT_UNSPECIFIED should be applied.
ResolutionThis issue has been resolved in a hotfix.  Contact RSA Customer Support and request hotfix 3.1.1.136 for FIM 3.11.  This will allow formats in the form urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified to be correctly identified. 
NotesThe plug-in must still be written to parse the unspecified name-format type. Typically these should be interpreted as type basic, but the application may have to determine this from the context. If hotfix 3.1.1.135 is applied the default CTBasicAttributePlugin will parse the unspecified type.
Legacy Article IDa36921

Attachments

    Outcomes