docs: private Properties getGlobalLoginBasicProps() throws Exception {
          String realm = getWebAppSecurityConfig().getBasicAuthRealmName();
          Properties props = new Properties();
          if (realm == null) {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, "basicAuthenticationMechanismRealmName is not set. the default value " + JavaEESecConstants.DEFAULT_REALM + " is used.");
              }
          } else {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, "The container provided BasicAuthenticationMechanism will be used with the realm name  : " + realm);
              }
              props.put(JavaEESecConstants.REALM_NAME, realm);
          }
          return props;
      }