Package org.aoju.bus.starter.sensitive
Class SensitiveStatementHandler
java.lang.Object
org.aoju.bus.mapper.handler.AbstractSqlHandler
org.aoju.bus.starter.sensitive.SensitiveStatementHandler
- All Implemented Interfaces:
org.aoju.bus.mapper.handler.SQLHandler,org.apache.ibatis.plugin.Interceptor
@Intercepts(@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="prepare",args={java.sql.Connection.class,java.lang.Integer.class}))
public class SensitiveStatementHandler
extends org.aoju.bus.mapper.handler.AbstractSqlHandler
implements org.apache.ibatis.plugin.Interceptor
数据脱敏加密
- Since:
- Java 17+
- Version:
- 6.0.6
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class org.aoju.bus.mapper.handler.AbstractSqlHandler
DELEGATE_BOUNDSQL, DELEGATE_BOUNDSQL_SQL, DELEGATE_MAPPEDSTATEMENT, MAPPEDSTATEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintercept(org.apache.ibatis.plugin.Invocation invocation) voidsetProperties(Properties properties) Methods inherited from class org.aoju.bus.mapper.handler.AbstractSqlHandler
getMappedStatement, getMappedStatement, getSqlParserInfo, realTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aoju.bus.mapper.handler.SQLHandler
afterCompletion, postHandle, preHandle
-
Constructor Details
-
SensitiveStatementHandler
public SensitiveStatementHandler()
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceorg.apache.ibatis.plugin.Interceptor- Throws:
Throwable
-
plugin
- Specified by:
pluginin interfaceorg.apache.ibatis.plugin.Interceptor
-
setProperties
- Specified by:
setPropertiesin interfaceorg.apache.ibatis.plugin.Interceptor
-