From 4aaeabbddbd08cf86d0e6844332af0b22fa73c23 Mon Sep 17 00:00:00 2001 From: smallbun <2689170096@qq.com> Date: Tue, 8 Aug 2023 19:35:48 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E7=A7=BB=E9=99=A4=E6=97=A0=E6=95=88?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mfa/jackjson/MfaJacksonModule.java | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 eiam-authentication/eiam-authentication-mfa/src/main/java/cn/topiam/employee/authentication/mfa/jackjson/MfaJacksonModule.java diff --git a/eiam-authentication/eiam-authentication-mfa/src/main/java/cn/topiam/employee/authentication/mfa/jackjson/MfaJacksonModule.java b/eiam-authentication/eiam-authentication-mfa/src/main/java/cn/topiam/employee/authentication/mfa/jackjson/MfaJacksonModule.java deleted file mode 100644 index db8ddfd4..00000000 --- a/eiam-authentication/eiam-authentication-mfa/src/main/java/cn/topiam/employee/authentication/mfa/jackjson/MfaJacksonModule.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * eiam-authentication - Employee Identity and Access Management - * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package cn.topiam.employee.authentication.mfa.jackjson; - -import com.fasterxml.jackson.core.Version; -import com.fasterxml.jackson.databind.Module; - -import cn.topiam.employee.authentication.mfa.authentication.MfaAuthentication; - -/** - * - * @author TopIAM - * Created by support@topiam.cn on 2023/7/14 21:45 - */ -public class MfaJacksonModule extends Module { - - /** - * Method that returns a display that can be used by Jackson - * for informational purposes, as well as in associating extensions with - * module that provides them. - */ - @Override - public String getModuleName() { - return MfaJacksonModule.class.getName(); - } - - /** - * Method that returns version of this module. Can be used by Jackson for - * informational purposes. - */ - @Override - public Version version() { - return new Version(1, 0, 0, null, null, null); - } - - @Override - public void setupModule(SetupContext context) { - //@formatter:off - context.setMixInAnnotations(MfaAuthentication.class, MfaAuthenticationTokenMixin.class); - //@formatter:on - } - -}