AntiXSS.java 293 Bytes
package com.xkl.security;

import java.lang.annotation.*;

/**
 * 防止XSS攻击注解,作用在DAO层,在写入前过滤数据(save | update)
 * Created by win7 on 2016/10/21.
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface AntiXSS {

}