mybatis-jpa-extra2.5 &batch delete

mybatis-jpa-extra2.5 &batch delete
This commit is contained in:
Crystal.Sea
2021-09-24 16:55:32 +08:00
parent 2fdd018239
commit 2d36296deb
18 changed files with 31 additions and 57 deletions

View File

@@ -40,6 +40,7 @@ import org.opensaml.common.binding.security.IssueInstantRule;
import org.opensaml.common.binding.security.MessageReplayRule;
import org.opensaml.util.storage.MapBasedStorageService;
import org.opensaml.util.storage.ReplayCache;
import org.opensaml.util.storage.ReplayCacheEntry;
import org.opensaml.xml.ConfigurationException;
import org.opensaml.xml.parse.BasicParserPool;
import org.slf4j.Logger;
@@ -195,7 +196,7 @@ public class Saml20AutoConfiguration implements InitializingBean {
* @return replayCache
*/
@Bean(name = "replayCache")
public ReplayCache replayCache(MapBasedStorageService mapBasedStorageService,
public ReplayCache replayCache(MapBasedStorageService<String, ReplayCacheEntry> mapBasedStorageService,
@Value("${maxkey.saml.v20.replay.cache.life.in.millis}") long duration) {
ReplayCache replayCache = new ReplayCache(mapBasedStorageService,duration);
return replayCache;