org.opensaml.xml.encryption.DecryptionException: Failed to decrypt EncryptedData

Stack Overflow | Dan | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SAML Issue Using Cert From Okta

    Stack Overflow | 7 months ago | Dan
    org.opensaml.xml.encryption.DecryptionException: Failed to decrypt EncryptedData
  2. 0

    SAML: Illegal key size exception even after updating JCE jars

    Stack Overflow | 1 month ago | jawad
    org.opensaml.xml.encryption.DecryptionException: Failed to decrypt EncryptedData
  3. 0

    Error while decrypting assertion sent from IDP

    Stack Overflow | 2 years ago | Rajat Nigam
    org.opensaml.xml.encryption.DecryptionException: Failed to decrypt EncryptedData
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Decrypting encrypted assertion using SAML 2.0 in java using OpenSAML

    Stack Overflow | 5 years ago | thewalrusnp
    org.opensaml.xml.encryption.DecryptionException: Failed to decrypt EncryptedData
  6. 0

    GitHub comment 140#180544453

    GitHub | 2 years ago | spring-issuemaster
    org.opensaml.xml.encryption.DecryptionException: Probable runtime exception on decryption:unknown parameter type.

    3 unregistered visitors

    Root Cause Analysis

    1. org.opensaml.xml.encryption.DecryptionException

      Failed to decrypt EncryptedData

      at org.opensaml.xml.encryption.Decrypter.decryptDataToDOM()
    2. XMLTooling-J
      Decrypter.decryptData
      1. org.opensaml.xml.encryption.Decrypter.decryptDataToDOM(Decrypter.java:535)[xmltooling-1.4.1.jar:?]
      2. org.opensaml.xml.encryption.Decrypter.decryptDataToList(Decrypter.java:442)[xmltooling-1.4.1.jar:?]
      3. org.opensaml.xml.encryption.Decrypter.decryptData(Decrypter.java:403)[xmltooling-1.4.1.jar:?]
      3 frames
    3. OpenSAML-J
      Decrypter.decrypt
      1. org.opensaml.saml2.encryption.Decrypter.decryptData(Decrypter.java:141)[opensaml-2.6.1.jar:?]
      2. org.opensaml.saml2.encryption.Decrypter.decrypt(Decrypter.java:69)[opensaml-2.6.1.jar:?]
      2 frames
    4. org.springframework.security
      SAMLAuthenticationProvider.authenticate
      1. org.springframework.security.saml.websso.WebSSOProfileConsumerImpl.processAuthenticationResponse(WebSSOProfileConsumerImpl.java:199)[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
      2. org.springframework.security.saml.SAMLAuthenticationProvider.authenticate(SAMLAuthenticationProvider.java:87)[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
      2 frames
    5. spring-security-core
      ProviderManager.authenticate
      1. org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)[spring-security-core-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      1 frame
    6. org.springframework.security
      SAMLProcessingFilter.attemptAuthentication
      1. org.springframework.security.saml.SAMLProcessingFilter.attemptAuthentication(SAMLProcessingFilter.java:87)[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
      1 frame
    7. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      2. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      4. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:166)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      6. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      7. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      7 frames
    8. com.aspectsecurity.contrast
      RestAuthenticationFilter.doFilter
      1. com.aspectsecurity.contrast.teamserver.security.auth.rest.RestAuthenticationFilter.doFilter(RestAuthenticationFilter.java:67)[RestAuthenticationFilter.class:?]
      1 frame
    9. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      2. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3 frames
    10. org.springframework.security
      WebAsyncManagerIntegrationFilter.doFilterInternal
      1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      1 frame
    11. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      1 frame
    12. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      2. org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      4. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      5 frames
    13. org.springframework.security
      MetadataGeneratorFilter.doFilter
      1. org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87)[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
      1 frame
    14. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      2. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
      3 frames
    15. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[spring-web-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[spring-web-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.61]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.61]
      2 frames
    17. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2 frames
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.61]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.61]
      2 frames
    19. com.aspectsecurity.contrast
      WebSecurityFilter.doFilter
      1. com.aspectsecurity.contrast.teamserver.webapp.filter.WebSecurityFilter.doFilter(WebSecurityFilter.java:79)[WebSecurityFilter.class:?]
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.61]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.61]
      2 frames
    21. com.aspectsecurity.contrast
      ESAPIThreadLocalFilter.doFilter
      1. com.aspectsecurity.contrast.teamserver.webapp.filter.ESAPIThreadLocalFilter.doFilter(ESAPIThreadLocalFilter.java:34)[ESAPIThreadLocalFilter.class:?]
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.61]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.61]
      2 frames
    23. org.apache.logging
      Log4jServletFilter.doFilter
      1. org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)[log4j-web-2.4.1.jar:2.4.1]
      1 frame
    24. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.61]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.61]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)[catalina.jar:7.0.61]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[catalina.jar:7.0.61]
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[catalina.jar:7.0.61]
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:7.0.61]
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)[catalina.jar:7.0.61]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[catalina.jar:7.0.61]
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)[catalina.jar:7.0.61]
      9 frames
    25. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)[tomcat-coyote.jar:7.0.61]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)[tomcat-coyote.jar:7.0.61]
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)[tomcat-coyote.jar:7.0.61]
      3 frames
    26. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.7.0_79]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.7.0_79]
      2 frames
    27. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-coyote.jar:7.0.61]
      1 frame
    28. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.7.0_79]
      1 frame