Package org.aoju.bus.starter.sensitive
Class SensitiveResultSetHandler
java.lang.Object
org.aoju.bus.mapper.handler.AbstractSqlHandler
org.aoju.bus.starter.sensitive.SensitiveResultSetHandler
- All Implemented Interfaces:
org.aoju.bus.mapper.handler.SQLHandler,org.apache.ibatis.plugin.Interceptor
@Intercepts(@Signature(type=org.apache.ibatis.executor.resultset.ResultSetHandler.class,method="handleResultSets",args=java.sql.Statement.class))
public class SensitiveResultSetHandler
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
-
SensitiveResultSetHandler
public SensitiveResultSetHandler()
-
-
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
-