com.taotao.boot.sensitive.houbb.api.impl.SensitiveStrategyBuiltIn Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.taotao.boot.sensitive.houbb.api.impl;
import com.taotao.boot.sensitive.houbb.api.IContext;
import com.taotao.boot.sensitive.houbb.api.IStrategy;
/**
* 用于标识为系统内置的注解实现方式 这个类的实现并不重要,只是为了尽可能降低 annotation 对于实现的依赖。 注意:如果不是系统内置的注解,请勿使用这个标识,否则无法找到对应实现。 在
* hibernate-validator 中使用的是数组,然后默认指定 {},但是缺陷也很明显, 明明是数组,实现却只能是一个。
*/
public class SensitiveStrategyBuiltIn implements IStrategy {
@Override
public Object des(Object original, IContext context) {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy