Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-8980

ElytronAccount not serializable

    XMLWordPrintable

    Details

      Description

      From community. See http://lists.jboss.org/pipermail/keycloak-user/2018-November/016540.html

      In clustered environment with elytron adapter, exception is thrown:

      2018-11-21 20:17:37,654 ERROR [io.undertow.request] (default task-1)
      UT005023: Exception handling request to /curo-crm/:
      java.lang.IllegalArgumentException:
      org.infinispan.commons.marshall.NotSerializableException:
      org.keycloak.adapters.elytron.ElytronAccount 
          at org.wildfly.clustering.web.infinispan.session.coarse.CoarseSessionAttributes.setAttribute(CoarseSessionAttributes.java:71)
      [snip]
      Caused by: org.infinispan.commons.marshall.NotSerializableException:
      org.keycloak.adapters.elytron.ElytronAccount
      

      ElytronAccount has to be serializable, check SAML adapter too.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pcraveiro Pedro Igor Silva
                  Reporter:
                  hmlnarik Hynek Mlnařík
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: