Solutions
Archived

There was an Exception doing the forward/redirect error and SAML2 authentication fails when redirecting with a SAML2 JSP page in OpenAM 13.0

Last updated Jan 5, 2021

The purpose of this article is to provide assistance if you see the following "ERROR: LoginViewBean.forwardTo(): There was an Exception doing the forward/redirect org.apache.jasper.JasperException: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String" and SAML2 authentication fails when redirecting with a SAML2 JSP page (such as a SP initiated SSO) in OpenAM 13.0. This issue only affects redirects that include the realm or where you are using a realm DNS alias.



Copyright and Trademarks Copyright © undefined ForgeRock, all rights reserved.