File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
src/main/java/org/opensearch/security Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2267,14 +2267,7 @@ public List<Setting<?>> getSettings() {
22672267 )
22682268 );
22692269
2270- settings .add (
2271- Setting .boolSetting (
2272- ConfigConstants .USER_ATTRIBUTE_SERIALIZATION_ENABLED ,
2273- ConfigConstants .USER_ATTRIBUTE_SERIALIZATION_ENABLED_DEFAULT ,
2274- Property .NodeScope ,
2275- Property .Dynamic
2276- )
2277- );
2270+ settings .add (SecuritySettings .USER_ATTRIBUTE_SERIALIZATION_ENABLED_SETTING );
22782271 }
22792272
22802273 return settings ;
Original file line number Diff line number Diff line change @@ -36,4 +36,10 @@ public class SecuritySettings {
3636 Setting .Property .Dynamic
3737 ); // Not filtered
3838
39+ public static final Setting <Boolean > USER_ATTRIBUTE_SERIALIZATION_ENABLED_SETTING = Setting .boolSetting (
40+ ConfigConstants .USER_ATTRIBUTE_SERIALIZATION_ENABLED ,
41+ ConfigConstants .USER_ATTRIBUTE_SERIALIZATION_ENABLED_DEFAULT ,
42+ Setting .Property .NodeScope ,
43+ Setting .Property .Dynamic
44+ ); // Not filtered
3945}
You can’t perform that action at this time.
0 commit comments