[OPENAM-16319] NoClassDefFoundError on fedlet when authentication request signing is enabled Created: 03/Jun/20  Updated: 16/Jun/20  Resolved: 10/Jun/20

Status: Resolved
Project: OpenAM
Component/s: SAML
Affects Version/s: 7.0.0
Fix Version/s: 7.0.0

Type: Bug Priority: Major
Reporter: Peter Major [X] (Inactive) Assignee: Peter Major [X] (Inactive)
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is required by OPENIG-4537 Update to latest AM 7 Closed
caused OPENAM-16340 saml2-node-tests-compose Stage Failur... Resolved
Rank: 1|hzwvvd:v
Sprint: AM 2020.7.75 - Astro / Bridge, AM 2020.8 - Arch Bridge
Epic Link: Commons Secrets Integration (Phase III)


Bug description

When authentication request signing is enabled on the fedlet side, the fedlet will fail to issue the authentication request, and will display an error page.

javax.servlet.ServletException: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/forgerock/am/config/Listener
	at io.undertow.jsp@2.0.8.Final//org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:889)
	at io.undertow.jsp@2.0.8.Final//org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:818)
	at org.apache.jsp.saml2.jsp.fedletSSOInit_jsp._jspService(fedletSSOInit_jsp.java:276)

How to reproduce the issue

  • Set up AM as IDP
  • Set up the unconfigured fedlet according to its README file.
  • Enable authentication request signing by updating the sp-extended.xml
  • Try to initiate SSO from the fedlet
Expected behaviour

Authentication requests are signed

Current behaviour

Fedlet displays error page.

Generated at Mon Mar 08 12:42:38 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.