Hi; I end up with this in tomcat for SAML
[code]
String index out of range: 889
java.lang.StringIndexOutOfBoundsException: String index out of range: 889
        at java.lang.String.charAt(Unknown Source)
        at waffle.util.Base64.decode(Unknown Source)
at
com.test.baran.user.web.SAMLFilter.validateSignature(SAMLFilter.java:404)
        at com.test.baran.
user.web.SAMLFilter.decodeAndValidateSamlResponse(SAMLFilter.java:344)
        at com.test.baran.user.web.SAMLFilter.doFilter(SAMLFilter.java:128)
[/code]

My server.xml is as follows:
[code]
 <Connector port="443" address="192.168.1.123"
               protocol="org.apache.coyote.http11.Http11AprProtocol"
               URIEncoding="UTF-8" executor="tomcatThreadPool"
               compression="on"
compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"
               SSLEnabled="true"
               scheme="https"
               secure="true"
               SSLCertificateFile="D:\tomcat\conf\my.crt"
               SSLCertificateKeyFile="D:\tomcat\conf\my.key"
               maxHttpHeaderSize="32768" />
[/code]

How to fix this in tomcat?

Reply via email to