code: @Override
      public String getUserName(Context context) {
          if (!enabled) {
              // Fake user.
              return "admin";
          }
  
          String user = context.session().get("wisdom.monitor.username");
          if (user != null && user.equals(username)) {
              return user;
          }
  
          return null;
      }
docs: Retrieves the username from the HTTP context.
  It reads the 'wisdom.monitor.username' in the session, and checks it is equal to the username set in the
  application configuration.
  
  @param context the context
  @return {@literal null} if the user is not authenticated, the user name otherwise.