mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 11:17:40 +08:00
Move cuba-idp to separate application component #411
This commit is contained in:
parent
98823c4f69
commit
f8027115c2
@ -82,6 +82,17 @@ public interface WebConfig extends Config {
|
|||||||
@Default("/ws/,/dispatch/,/rest/,/front/")
|
@Default("/ws/,/dispatch/,/rest/,/front/")
|
||||||
List<String> getCubaHttpFilterBypassUrls();
|
List<String> getCubaHttpFilterBypassUrls();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enables to pass additional Cuba HTTP Filter bypass URLs from application components.
|
||||||
|
* <p>
|
||||||
|
* Related to {@link WebConfig#getCubaHttpFilterBypassUrls()}.
|
||||||
|
*
|
||||||
|
* @return Comma-separated list of URLs for CubaHttpFilter to bypass.
|
||||||
|
*/
|
||||||
|
@Property("cuba.web.externalHttpFilterByPassUrls")
|
||||||
|
@Factory(factory = CommaSeparatedStringListTypeFactory.class)
|
||||||
|
List<String> getExternalHttpFilterBypassUrls();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Default main window mode.
|
* @return Default main window mode.
|
||||||
* Takes place until the user did not change its own preference through user settings.
|
* Takes place until the user did not change its own preference through user settings.
|
||||||
|
@ -48,6 +48,7 @@ public class CubaHttpFilter extends CompositeFilter implements Filter {
|
|||||||
// Fill bypassUrls
|
// Fill bypassUrls
|
||||||
WebConfig webConfig = configuration.getConfig(WebConfig.class);
|
WebConfig webConfig = configuration.getConfig(WebConfig.class);
|
||||||
bypassUrls.addAll(webConfig.getCubaHttpFilterBypassUrls());
|
bypassUrls.addAll(webConfig.getCubaHttpFilterBypassUrls());
|
||||||
|
bypassUrls.addAll(webConfig.getExternalHttpFilterBypassUrls());
|
||||||
|
|
||||||
List<Filter> filters = new ArrayList<>();
|
List<Filter> filters = new ArrayList<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user