File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
webapp/src/main/java/org/apache/atlas/web/security Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -240,13 +240,8 @@ protected void configure(HttpSecurity httpSecurity) throws Exception {
240
240
LOG .info ("Atlas is in HA or HS Mode, enabling ActiveServerFilter" );
241
241
}
242
242
243
- //XSS filter at first
244
- if (isAlbEnabled ) {
245
- httpSecurity .addFilterBefore (atlasXSSPreventionFilter , BasicAuthenticationFilter .class );
246
- LOG .info ("XSS filter is enabled from Atlas" );
247
- } else {
248
- LOG .info ("XSS filter is disabled from Atlas" );
249
- }
243
+ // TODO: Enable XSS Filter after solving encoding problems
244
+ LOG .warn ("XSS filter is disabled from Atlas" );
250
245
//Enable activeServerFilter regardless of HA or HS
251
246
httpSecurity .addFilterAfter (activeServerFilter , BasicAuthenticationFilter .class );
252
247
You can’t perform that action at this time.
0 commit comments