Interface TokenDeserializer


public interface TokenDeserializer
Allows to deserialize objects from TokenCredentials token bytes.

Warning!!!

We strongly recommend to avoid object deserialization during the authentication to prevent serialization based attacks.

  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.hazelcast.security.TokenCredentials tokenCredentials)
    Deserializes and returns the token value from given TokenCredentials.
  • Method Details

    • deserialize

      Object deserialize(com.hazelcast.security.TokenCredentials tokenCredentials)
      Deserializes and returns the token value from given TokenCredentials.
      Parameters:
      tokenCredentials - TokenCredentials instance from which the token should be deserialized.
      Returns:
      deserialized token value