SHARE
TWEET

Server side

a guest Dec 14th, 2017 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2017-12-14 13:06:04.662 ERROR 6651 --- [nio-8443-exec-1] service.auth.AuthorizationService        : Failed to validate token
  2.  
  3. org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size
  4.     at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1852)
  5.     at org.apache.xml.security.encryption.XMLCipher.decryptElement(XMLCipher.java:1712)
  6.     at org.apache.xml.security.encryption.XMLCipher.doFinal(XMLCipher.java:978)
  7.     at service.auth.SamlDecoder.decryptElementDOM(SamlDecoder.java:66)
  8.     at service.auth.SamlDecoder.decodeAsertion(SamlDecoder.java:33)
  9.     at service.auth.AuthorizationService.authService(AuthorizationService.java:70)
  10.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  11.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  12.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  13.     at java.lang.reflect.Method.invoke(Method.java:497)
  14.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
  15.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
  16.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
  17.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:775)
  18.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
  19.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
  20.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
  21.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
  22.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
  23.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
  24.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
  25.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
  26.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  27.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
  28.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  29.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  30.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  31.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  32.     at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
  33.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  34.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  35.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  36.     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
  37.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  38.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  39.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  40.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
  41.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  42.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
  43.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  44.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  45.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  46.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
  47.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
  48.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
  49.     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
  50.     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
  51.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  52.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  53.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  54.     at java.lang.Thread.run(Thread.java:745)
  55. Caused by: java.security.InvalidKeyException: Illegal key size
  56.     at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
  57.     at javax.crypto.Cipher.implInit(Cipher.java:805)
  58.     at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
  59.     at javax.crypto.Cipher.init(Cipher.java:1396)
  60.     at javax.crypto.Cipher.init(Cipher.java:1327)
  61.     at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1850)
  62.     ... 50 common frames omitted
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top