remove meta mtls parse mode

as we have successfully merged patches that enable UserPrincipalName
parse mode, we can start removing Meta only parse mode. This commit
is intended to remove MTLSCommonNameParseMode::Meta from the upstream
code

Tested:
- build bmcweb
- deploy to a device that already use UPN
- check if it works fine by sending curl request /AccountService

Change-Id: Idcf4340a2a9940f035aea41cd30ef4df7bd95530
Signed-off-by: Malik Akbar Hashemi Rafsanjani <malikrafsan@meta.com>
diff --git a/include/sessions.hpp b/include/sessions.hpp
index 22aa3ad..2c9613a 100644
--- a/include/sessions.hpp
+++ b/include/sessions.hpp
@@ -161,7 +161,6 @@
     // Intentional gap for future DMTF-defined enums
 
     // OEM parsing modes for various OEMs
-    Meta = 100,
 };
 
 inline MTLSCommonNameParseMode getMTLSCommonNameParseMode(std::string_view name)
@@ -179,13 +178,6 @@
     {
         return MTLSCommonNameParseMode::UserPrincipalName;
     }
-    if constexpr (BMCWEB_META_TLS_COMMON_NAME_PARSING)
-    {
-        if (name == "Meta")
-        {
-            return MTLSCommonNameParseMode::Meta;
-        }
-    }
     return MTLSCommonNameParseMode::Invalid;
 }
 
@@ -250,9 +242,7 @@
                     MTLSCommonNameParseMode tmpMTLSCommonNameParseMode =
                         static_cast<MTLSCommonNameParseMode>(*intValue);
                     if (tmpMTLSCommonNameParseMode <=
-                            MTLSCommonNameParseMode::UserPrincipalName ||
-                        tmpMTLSCommonNameParseMode ==
-                            MTLSCommonNameParseMode::Meta)
+                        MTLSCommonNameParseMode::UserPrincipalName)
                     {
                         mTLSCommonNameParsingMode = tmpMTLSCommonNameParseMode;
                     }