Map<Object, LimitProfile> profiles = CollectUtils.newHashMap();
for (int i = 0; i < profileNum; i++) {
Object category = String.valueOf(i);
profiles.put(category, new LimitProfile(category, 1000, 15, 1));
}
profileProvider = new LimitProfileProviderImpl();
profileProvider.setProfiles(profiles);
controller = new ConcurrentSessionStrategy();
//controller.setProfileProvider(profileProvider);
}