public Optional<Principal> getUserPrincipal() {
        return Optional.ofNullable(userPrincipal);
    }
@return a mutable attribute map for this request.
application/src/main/java/com/yahoo/application/container/handler/Request.java