mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-11-04 09:01:40 +08:00 
			
		
		
		
	chore: top.charles7c.continew => top.continew
This commit is contained in:
		@@ -14,10 +14,10 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.annotation;
 | 
			
		||||
package top.continew.starter.security.crypto.annotation;
 | 
			
		||||
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.enums.Algorithm;
 | 
			
		||||
import top.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.continew.starter.security.crypto.enums.Algorithm;
 | 
			
		||||
 | 
			
		||||
import java.lang.annotation.ElementType;
 | 
			
		||||
import java.lang.annotation.Retention;
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.autoconfigure;
 | 
			
		||||
package top.continew.starter.security.crypto.autoconfigure;
 | 
			
		||||
 | 
			
		||||
import jakarta.annotation.PostConstruct;
 | 
			
		||||
import org.slf4j.Logger;
 | 
			
		||||
@@ -24,9 +24,9 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
 | 
			
		||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
 | 
			
		||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
 | 
			
		||||
import org.springframework.context.annotation.Bean;
 | 
			
		||||
import top.charles7c.continew.starter.core.constant.PropertiesConstants;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.core.MyBatisDecryptInterceptor;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.core.MyBatisEncryptInterceptor;
 | 
			
		||||
import top.continew.starter.core.constant.PropertiesConstants;
 | 
			
		||||
import top.continew.starter.security.crypto.core.MyBatisDecryptInterceptor;
 | 
			
		||||
import top.continew.starter.security.crypto.core.MyBatisEncryptInterceptor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 加/解密自动配置
 | 
			
		||||
@@ -14,10 +14,10 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.autoconfigure;
 | 
			
		||||
package top.continew.starter.security.crypto.autoconfigure;
 | 
			
		||||
 | 
			
		||||
import org.springframework.boot.context.properties.ConfigurationProperties;
 | 
			
		||||
import top.charles7c.continew.starter.core.constant.PropertiesConstants;
 | 
			
		||||
import top.continew.starter.core.constant.PropertiesConstants;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 加/解密配置属性
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.core;
 | 
			
		||||
package top.continew.starter.security.crypto.core;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.map.MapUtil;
 | 
			
		||||
import cn.hutool.core.text.CharSequenceUtil;
 | 
			
		||||
@@ -23,11 +23,11 @@ import cn.hutool.extra.spring.SpringUtil;
 | 
			
		||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
 | 
			
		||||
import org.apache.ibatis.annotations.Param;
 | 
			
		||||
import org.apache.ibatis.plugin.*;
 | 
			
		||||
import top.charles7c.continew.starter.core.constant.StringConstants;
 | 
			
		||||
import top.charles7c.continew.starter.core.exception.BusinessException;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.enums.Algorithm;
 | 
			
		||||
import top.continew.starter.core.constant.StringConstants;
 | 
			
		||||
import top.continew.starter.core.exception.BusinessException;
 | 
			
		||||
import top.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.continew.starter.security.crypto.enums.Algorithm;
 | 
			
		||||
 | 
			
		||||
import java.lang.reflect.Field;
 | 
			
		||||
import java.lang.reflect.Method;
 | 
			
		||||
@@ -14,16 +14,16 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.core;
 | 
			
		||||
package top.continew.starter.security.crypto.core;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.util.ObjectUtil;
 | 
			
		||||
import cn.hutool.core.util.ReflectUtil;
 | 
			
		||||
import org.apache.ibatis.executor.resultset.ResultSetHandler;
 | 
			
		||||
import org.apache.ibatis.plugin.*;
 | 
			
		||||
import org.apache.ibatis.type.SimpleTypeRegistry;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.autoconfigure.CryptoProperties;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.continew.starter.security.crypto.autoconfigure.CryptoProperties;
 | 
			
		||||
import top.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
 | 
			
		||||
import java.lang.reflect.Field;
 | 
			
		||||
import java.sql.Statement;
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.core;
 | 
			
		||||
package top.continew.starter.security.crypto.core;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.util.ObjectUtil;
 | 
			
		||||
import cn.hutool.core.util.ReflectUtil;
 | 
			
		||||
@@ -28,9 +28,9 @@ import org.apache.ibatis.plugin.*;
 | 
			
		||||
import org.apache.ibatis.session.ResultHandler;
 | 
			
		||||
import org.apache.ibatis.session.RowBounds;
 | 
			
		||||
import org.apache.ibatis.type.SimpleTypeRegistry;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.autoconfigure.CryptoProperties;
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
import top.continew.starter.security.crypto.annotation.FieldEncrypt;
 | 
			
		||||
import top.continew.starter.security.crypto.autoconfigure.CryptoProperties;
 | 
			
		||||
import top.continew.starter.security.crypto.encryptor.IEncryptor;
 | 
			
		||||
 | 
			
		||||
import java.lang.reflect.Field;
 | 
			
		||||
import java.util.*;
 | 
			
		||||
@@ -14,12 +14,12 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.text.CharSequenceUtil;
 | 
			
		||||
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;
 | 
			
		||||
import cn.hutool.crypto.symmetric.SymmetricCrypto;
 | 
			
		||||
import top.charles7c.continew.starter.core.constant.StringConstants;
 | 
			
		||||
import top.continew.starter.core.constant.StringConstants;
 | 
			
		||||
 | 
			
		||||
import java.nio.charset.StandardCharsets;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;
 | 
			
		||||
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.codec.Base64;
 | 
			
		||||
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;
 | 
			
		||||
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 加/解密接口
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;
 | 
			
		||||
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.encryptor;
 | 
			
		||||
package top.continew.starter.security.crypto.encryptor;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.codec.Base64;
 | 
			
		||||
import cn.hutool.crypto.SecureUtil;
 | 
			
		||||
@@ -14,9 +14,9 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package top.charles7c.continew.starter.security.crypto.enums;
 | 
			
		||||
package top.continew.starter.security.crypto.enums;
 | 
			
		||||
 | 
			
		||||
import top.charles7c.continew.starter.security.crypto.encryptor.*;
 | 
			
		||||
import top.continew.starter.security.crypto.encryptor.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 加密/解密算法枚举
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
top.charles7c.continew.starter.security.crypto.autoconfigure.CryptoAutoConfiguration
 | 
			
		||||
top.continew.starter.security.crypto.autoconfigure.CryptoAutoConfiguration
 | 
			
		||||
		Reference in New Issue
	
	Block a user