#include "session/CertificateUserMismatchException.hpp" #include "common/ErrorPkg.hpp" std::vector CertificateUserMismatchException::USER_CN_ARR; CertificateUserMismatchException::CertificateUserMismatchException (const std::string &clID, const std::string &cn) { std::vector ctor; ctor.push_back (clID); ctor.push_back (cn); const std::vector &p = getCertificateUser(); std::string msg = ErrorPkg::getMessage ("epp.login.fail.auth.match", p, ctor); // LoginException (msg); } const std::vector & CertificateUserMismatchException::getCertificateUser() { if (USER_CN_ARR.size() == 0) { USER_CN_ARR.push_back ("<>"); USER_CN_ARR.push_back ("<>"); } return USER_CN_ARR; }