@@ -240,11 +240,7 @@ def _is_valid_lsa(self, attribute_helper):
240
240
attribute_name ,
241
241
class_name = self .__class_name , method_name = _method_name )
242
242
valid = False
243
- elif self ._is_clear_text_password (attribute_helper ):
244
- self .__logger .finest ('Ignore MBean{1} attribute {0} that is a clear text password attribute' ,
245
- attribute_name , mbean_type , class_name = self .__class_name , method_name = _method_name )
246
- valid = False
247
-
243
+
248
244
self .__logger .exiting (class_name = self .__class_name , method_name = _method_name , result = Boolean (valid ))
249
245
return valid
250
246
@@ -259,11 +255,7 @@ def _is_valid_no_mbean(self, mbean_type, helper):
259
255
attribute_name , mbean_type ,
260
256
class_name = self .__class_name , method_name = _method_name )
261
257
valid = False
262
- elif self ._is_clear_text_password (helper ):
263
- self .__logger .finest ('Ignore MBean{1} attribute {0} that is a clear text password attribute' ,
264
- attribute_name , mbean_type , class_name = self .__class_name , method_name = _method_name )
265
- valid = False
266
-
258
+
267
259
self .__logger .exiting (class_name = self .__class_name , method_name = _method_name , result = Boolean (valid ))
268
260
return valid
269
261
@@ -309,11 +301,7 @@ def _is_valid_attribute(self, converted_name, helper, info_helper=None):
309
301
self .__logger .finest ('MBean {0} attribute {1} is in the WDT ignore list' , mbean_type , converted_name ,
310
302
class_name = self .__class_name , method_name = _method_name )
311
303
valid = False
312
- elif self ._is_clear_text_password (helper ):
313
- self .__logger .finer ('Ignore MBeanInfo attribute {0} for MBean {1} that is a clear text password attribute' ,
314
- converted_name , mbean_type , class_name = self .__class_name , method_name = _method_name )
315
- valid = False
316
-
304
+
317
305
self .__logger .exiting (result = Boolean (valid ), class_name = self .__class_name , method_name = _method_name )
318
306
return valid
319
307
0 commit comments