Interface UserTransformer

  • All Implemented Interfaces:

    
    public interface UserTransformer
    
                        

    A transformer that can be used to transform a user object before third parties can access it. This is useful for adding extra data to the user object and/or encrypting/decrypting it.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract User transform(User user) Transforms the user before returning it to the caller.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • transform

         abstract User transform(User user)

        Transforms the user before returning it to the caller. This can be used to add extra data to the message object and/or encrypt/decrypt it.

        Returns:

        The transformed user.