Identifier should implement Serializable

Issue #90 resolved
Pétur Runólfsson created an issue

Can com.nimbusds.oauth2.sdk.id.Identifer implement java.io.Serializable?

This would allow these types to be used in contexts that require serializable values, for example EJB parameters or replicated caches.

Comments (8)

  1. Vladimir Dzhuvinov

    Done in commit faf5399.

    If you think other classes have need for that let us know. We use external serialisers in our Connect2id server code, so never had this need.

  2. Pétur Runólfsson reporter

    Thanks for the quick response! Most of the types that need to be stored between requests (State, Nonce, ClientID, AccessToken etc.) seem to extend Identifier, so they should be covered by this change.

  3. Pétur Runólfsson reporter

    Any news on this? It is marked as resolved, but the change doesn't seem to be present in version 3.4.1 or the latest source from git.

  4. Connect2id OSS

    Serializable is now merged into master. We'll push a new fix release later today. Thank you for following up on this!

  5. Log in to comment