Package com.hazelcast.security
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 TypeMethodDescriptiondeserialize(com.hazelcast.security.TokenCredentials tokenCredentials) Deserializes and returns the token value from givenTokenCredentials.
-
Method Details
-
deserialize
Deserializes and returns the token value from givenTokenCredentials.- Parameters:
tokenCredentials-TokenCredentialsinstance from which the token should be deserialized.- Returns:
- deserialized token value
-