- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CorsHandlerFactory (0.21 sec)
-
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class CorsHandlerFactory { private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class); protected Map<String, CorsHandler> handerMap = new HashMap<>(); public void add(final String origin, final CorsHandler handler) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/resources/fess_cors.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" "http://dbflute.org/meta/lastadi10.dtd"> <components> <component name="corsHandlerFactory" class="org.codelibs.fess.cors.CorsHandlerFactory"> </component> <component name="defaultCorsHandler" class="org.codelibs.fess.cors.DefaultCorsHandler"> </component>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 04 05:16:45 UTC 2023 - 378 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.cors.CorsHandler; import org.codelibs.fess.cors.CorsHandlerFactory; import org.codelibs.fess.util.ComponentUtil; import jakarta.servlet.Filter; import jakarta.servlet.FilterChain; import jakarta.servlet.ServletException; import jakarta.servlet.ServletRequest;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
import jakarta.servlet.ServletResponse; import jakarta.servlet.http.HttpServletResponse; public class DefaultCorsHandler extends CorsHandler { @PostConstruct public void register() { final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
import org.codelibs.core.crypto.CachedCipher; import org.codelibs.core.misc.DynamicProperties; import org.codelibs.fess.api.WebApiManagerFactory; import org.codelibs.fess.auth.AuthenticationManager; import org.codelibs.fess.cors.CorsHandlerFactory; import org.codelibs.fess.crawler.client.CrawlerClientCreator; import org.codelibs.fess.crawler.client.CrawlerClientFactory; import org.codelibs.fess.crawler.entity.EsAccessResult;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0)