File tree Expand file tree Collapse file tree 3 files changed +1
-46
lines changed
main/java/com/iexec/sms/config
test/java/com/iexec/sms/config Expand file tree Collapse file tree 3 files changed +1
-46
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ All notable changes to this project will be documented in this file.
2121- Validate authorization first when working on compute secrets. (#229 )
2222- Remove outdated empty log assertions in session tests. (#233 )
2323- Do not use ` @Data ` lombok annotations on entities. (#235 )
24- - Forbid access to sensitive APIs when no API key has been configured. (#249 )
24+ - Forbid access to sensitive APIs when no API key has been configured. (#249 # 252 )
2525
2626### Quality
2727
Original file line number Diff line number Diff line change 1818
1919import com .iexec .sms .admin .ApiKeyRequestFilter ;
2020import org .springframework .beans .factory .annotation .Value ;
21- import org .springframework .boot .autoconfigure .condition .ConditionalOnExpression ;
2221import org .springframework .boot .web .servlet .FilterRegistrationBean ;
2322import org .springframework .context .annotation .Bean ;
2423import org .springframework .context .annotation .Configuration ;
2524
2625@ Configuration
27- @ ConditionalOnExpression (
28- "T(org.apache.commons.lang3.StringUtils).isNotEmpty('${admin.api-key:}')"
29- )
3026public class ApiKeyFilterConfig {
3127
3228 @ Bean
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments