Problem accessing /system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler
Hi everybody.
So we have this script that is run when we deploy aem. But at some point it fails when it tries to do this :
curl -fsu $credential http://$host:$port/system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler \
-d apply=true \
-d factoryPid=com.adobe.granite.auth.saml.SamlAuthenticationHandler \
-d action=ajaxConfigManager \
-d idpUrl=$idpUrl \
-d idpCertAlias=$idpAlias \
-d idpHttpRedirect=true \
-d serviceProviderEntityId=logon_identifier \
-d spPrivateKeyAlias=key \
-d keyStorePassword=$password \
-d groupMembershipAttribute=http://schemas.xmlsoap.org/claims/Group \
-d handleLogout=true \
-d logoutUrl=$idpUrl
And i'm getting this error
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler. Reason:
<pre> java.lang.ClassCastException: org.apache.sling.i18n.impl.I18NFilter$I18NHttpServletRequest cannot be cast to org.apache.sling.api.SlingHttpServletRequest</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
Any ideas as to why this is happening?
Thank you.

