public interface UserId
extends java.lang.CharSequence
This type is typically used in logging, notably by RequestLogger
.
Authentication systems should add a user identifier to the request registry.
Modifier and Type | Method and Description |
---|---|
static UserId |
of(java.lang.String userIdentifier)
Creates new user identifier of the given string.
|
static UserId of(java.lang.String userIdentifier)
userIdentifier
- the user identifier