mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-16 13:30:43 +08:00
onetimepwd
This commit is contained in:
@@ -27,18 +27,18 @@ import org.maxkey.authn.realm.activedirectory.ActiveDirectoryAuthenticationRealm
|
||||
import org.maxkey.authn.realm.activedirectory.ActiveDirectoryServer;
|
||||
import org.maxkey.authn.support.kerberos.KerberosProxy;
|
||||
import org.maxkey.authn.support.kerberos.RemoteKerberosService;
|
||||
import org.maxkey.authn.support.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.authn.support.onetimepwd.algorithm.KeyUriFormat;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.MailOtpAuthn;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.SmsOtpAuthn;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.TimeBasedOtpAuthn;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.sms.SmsOtpAuthnAliyun;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.sms.SmsOtpAuthnTencentCloud;
|
||||
import org.maxkey.authn.support.onetimepwd.impl.sms.SmsOtpAuthnYunxin;
|
||||
import org.maxkey.authn.support.onetimepwd.token.RedisOtpTokenStore;
|
||||
import org.maxkey.authn.support.rememberme.AbstractRemeberMeService;
|
||||
import org.maxkey.constants.ConstantsPersistence;
|
||||
import org.maxkey.constants.ConstantsProperties;
|
||||
import org.maxkey.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.onetimepwd.algorithm.KeyUriFormat;
|
||||
import org.maxkey.onetimepwd.impl.MailOtpAuthn;
|
||||
import org.maxkey.onetimepwd.impl.SmsOtpAuthn;
|
||||
import org.maxkey.onetimepwd.impl.TimeBasedOtpAuthn;
|
||||
import org.maxkey.onetimepwd.impl.sms.SmsOtpAuthnAliyun;
|
||||
import org.maxkey.onetimepwd.impl.sms.SmsOtpAuthnTencentCloud;
|
||||
import org.maxkey.onetimepwd.impl.sms.SmsOtpAuthnYunxin;
|
||||
import org.maxkey.onetimepwd.token.RedisOtpTokenStore;
|
||||
import org.maxkey.persistence.db.LoginHistoryService;
|
||||
import org.maxkey.persistence.db.LoginService;
|
||||
import org.maxkey.persistence.db.PasswordPolicyValidator;
|
||||
|
||||
@@ -20,8 +20,8 @@ package org.maxkey.web.contorller;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.maxkey.authn.support.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.domain.UserInfo;
|
||||
import org.maxkey.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.persistence.service.UserInfoService;
|
||||
import org.maxkey.web.WebConstants;
|
||||
import org.maxkey.web.WebContext;
|
||||
|
||||
@@ -20,11 +20,11 @@ package org.maxkey.web.contorller;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.util.UUID;
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.maxkey.authn.support.onetimepwd.algorithm.KeyUriFormat;
|
||||
import org.maxkey.authn.support.onetimepwd.algorithm.OtpSecret;
|
||||
import org.maxkey.crypto.Base32Utils;
|
||||
import org.maxkey.crypto.password.PasswordReciprocal;
|
||||
import org.maxkey.domain.UserInfo;
|
||||
import org.maxkey.onetimepwd.algorithm.KeyUriFormat;
|
||||
import org.maxkey.onetimepwd.algorithm.OtpSecret;
|
||||
import org.maxkey.persistence.service.UserInfoService;
|
||||
import org.maxkey.util.RQCodeUtils;
|
||||
import org.maxkey.web.WebContext;
|
||||
|
||||
@@ -27,13 +27,13 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import org.maxkey.authn.AbstractAuthenticationProvider;
|
||||
import org.maxkey.authn.LoginCredential;
|
||||
import org.maxkey.authn.support.kerberos.KerberosService;
|
||||
import org.maxkey.authn.support.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.authn.support.rememberme.AbstractRemeberMeService;
|
||||
import org.maxkey.authn.support.socialsignon.service.SocialSignOnProviderService;
|
||||
import org.maxkey.authn.support.wsfederation.WsFederationConstants;
|
||||
import org.maxkey.configuration.ApplicationConfig;
|
||||
import org.maxkey.constants.ConstantsStatus;
|
||||
import org.maxkey.domain.UserInfo;
|
||||
import org.maxkey.onetimepwd.AbstractOtpAuthn;
|
||||
import org.maxkey.persistence.service.UserInfoService;
|
||||
import org.maxkey.util.StringUtils;
|
||||
import org.maxkey.web.WebConstants;
|
||||
|
||||
Reference in New Issue
Block a user