soteria
soteria copied to clipboard
<distributable/> app: AccessTokenImpl is not serializable
I am trying to get the OIDC mechanism to work in a clustered wildfly (31) setup but it appears to be impossible at the moment:
10:13:44,620 WARN [org.infinispan.PERSISTENCE] (default task-2) ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: org.glassfish.soteria.mechanisms.openid.domain.AccessTokenImpl
at [email protected]//org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:278)
at [email protected]//org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1182)
[SNIP]
Caused by: an exception which occurred:
in field org.wildfly.security.soteria.original.OpenIdContextImpl.accessToken
in object org.wildfly.security.soteria.original.OpenIdContextImpl@36da2ead
in field org.jboss.weld.contexts.SerializableContextualInstanceImpl.instance
in object org.jboss.weld.contexts.SerializableContextualInstanceImpl@3d87e427
in object org.jboss.weld.contexts.SerializableContextualInstanceImpl@3d87e427
in object java.util.concurrent.ConcurrentHashMap@4fed9dbc
Is that an oversight or am I using it the wrong way?