ForgeRock / openam-community-edition

Access Management - AuthN, AuthZ, SSO, Fedaration
https://forgerock.github.io/openam-community-edition/
123 stars 60 forks source link

Openam community returns null pointer on redirect. #54

Open crazypigeonking opened 6 years ago

crazypigeonking commented 6 years ago

I have installed the war on my tomcat and everything works perfectly until it performs a redirect. When this happens I get the following error.

Caused by: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.sun.org.apache.xml.internal.security.utils.Constants.setSignatureSpecNSprefix(Ljava/lang/String;)V at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:667) at org.apache.jsp.saml2.jsp.idpSSOInit_jsp._jspService(idpSSOInit_jsp.java:209) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:444) ... 30 more

After looking at past logs it seems this is because the com.sun.org.apache.xml.internal.security.utils.Constants have been removed from JDK 1.8. The commercial edition of OpenAM reports that this has been fixed. Is there a chance that this can be retrofixed on the community edition as well