@ Bean @ ConditionalOnProperty ( prefix = "hawkbit.server.security.dos.filter" , name = "enabled" , matchIfMissing = true ) public FilterRegistrationBean < DosFilter > dosSystemFilter ( final HawkbitSecurityProperties securityProperties ) { final FilterRegistrationBean < DosFilter > filterRegBean = dosFilter ( Collections . emptyList ( ) , securityProperties . getDos ( ) . getFilter ( ) , securityProperties . getClients ( ) ) ; filterRegBean . setUrlPatterns ( Arrays . asList ( "/system/*" ) ) ; filterRegBean . setOrder ( DOS_FILTER_ORDER ) ; filterRegBean . setName ( "dosSystemFilter" ) ; return filterRegBean ; }
Filter to protect the hawkBit server system management interface against to many requests .