After updating to Java 8 we are seeing the following messages appearing in stdout.log when using SAML authentication.
Error: URI=null Line=1: Document is invalid: no grammar found.
Error: URI=null Line=1: Document root element "samlp:Response", must match DOCTYPE root "null".
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 0 errors. Please call the setErrorHandler method to fix this.
We have validated the response contents and do not see anything different or unusual. Asking the community here if anyone else has seen this or knows of a fix?
You can ignore the error. It needs product code change to turn off validation Or have implement EntityResolver due to changes in XML parsing at platform level. The functionality will continue to work but log is annoying. You can ask official support request to fix the same but you can safely ignore that message & will not have any side affects.
*ERROR* [qtp786583214-108] com.adobe.granite.auth.saml.util.SamlReader Document is invalid: no grammar found.
*ERROR* [qtp786583214-108] com.adobe.granite.auth.saml.util.SamlReader Document root element "samlp:Response", must match DOCTYPE root "null".
I am dealing with there two errors in saml integration and I am not able access my login page . I have all urls and all certificates corrent in AEM but when I am hitting my LOGIN URL I am not able to LOGIN .
This is your SAML token is not configured correctly. However you configured the SAML OSGi configuration is not right. The first two lines are the same as my original post, which are okay to ignore, but the third line says your token is not right. That is a bit too detailed and far down for any advice from myself. Check your SAML configuration settings and try other tweaks and settings according to documentation, otherwise you will need to request support.
13.11.2017 20:09:57.318 *INFO* [qtp483534205-45475] com.adobe.granite.auth.saml.SamlAuthenticationHandler SAML error with reason: invalid_token detected, redirect user to: /libs/granite/core/content/login.error.html?j_reason=invalid_token