FIM error "Cannot find an association based on the EntityID that was passed in"
2 years ago
Originally Published: 2015-01-07
Article Number
000050068
Applies To
RSA Product Set: FIM
RSA Product/Service Type: Federated Identity Management Module
RSA Version/Condition: 4.1
Platform: Linux
Platform (Other): null
O/S Version: Red Hat Linux 6.2
Product Name: null
Product Description: null
Issue
The following exception is generated when attempting to parse a WSFed request. 

2015-01-06 16:54:11,315, (WSFEDEndPoint.java:125), fim1, , , , An Exception was encountered, com.rsa.fim.exception.util.NotFoundException: Cannot find an association based on the EntityID that was passed in
Cause

This error means that the entityID is not correct in the URL used for the request.

The entityID for SAML 2.0 is passed as a querystring called SPEntityID.
 

The entity ID for WSFed is passed as a querystring called wtrealm.

Resolution
Ensure the wtrealm querystring is set to the entity ID defined in FIM for this partner. This is the format for the URL.

http://{idp-host}:{port-number}/federation/WSFEDfederation?wa=wsignin1.0&wtrealm=sp-entityId&wres=target URL