Interface UserId

  • All Superinterfaces:

    public interface UserId
    extends CharSequence
    An opaque identifier for the “user” that initiated the request.

    This type is typically used in logging, notably by RequestLogger. Authentication systems should add a user identifier to the request registry.

    • Method Detail

      • of

        static UserId of​(String userIdentifier)
        Creates new user identifier of the given string.
        userIdentifier - the user identifier
        a user identifier object