this.formType = clazz;
}
private void checkAuthenticity(Map<String, String> data) {
AuthenticityCheck anno = this.formType.getAnnotation(AuthenticityCheck.class);
Session session = play.mvc.Http.Context.current().session();
String atoken = session.get(AuthenticityCheck.AUTH_TOKEN);
session.remove(AuthenticityCheck.AUTH_TOKEN);
String uuid = data.get(AuthenticityCheck.AUTH_TOKEN);
if (anno != null) {
if (StringUtils.isEmpty(uuid) || StringUtils.isEmpty(atoken)) {
alarm();