onetimepwd

This commit is contained in:
MaxKey
2021-02-16 08:50:03 +08:00
parent 99a4fd879c
commit 101fd1c70b
33 changed files with 61 additions and 61 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;