use of org.apereo.cas.util.scripting.ScriptResourceCacheManager in project cas by apereo.
the class ReturnMappedAttributeReleasePolicyTests method beforeEach.
@BeforeEach
public void beforeEach() {
ApplicationContextProvider.holdApplicationContext(applicationContext);
ApplicationContextProvider.registerBeanIntoApplicationContext(applicationContext, new GroovyScriptResourceCacheManager(), ScriptResourceCacheManager.BEAN_NAME);
ApplicationContextProvider.getScriptResourceCacheManager().ifPresent(ScriptResourceCacheManager::clear);
}
Aggregations