@@ -240,11 +240,7 @@ def _is_valid_lsa(self, attribute_helper):
240240 attribute_name ,
241241 class_name = self .__class_name , method_name = _method_name )
242242 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+
248244 self .__logger .exiting (class_name = self .__class_name , method_name = _method_name , result = Boolean (valid ))
249245 return valid
250246
@@ -259,11 +255,7 @@ def _is_valid_no_mbean(self, mbean_type, helper):
259255 attribute_name , mbean_type ,
260256 class_name = self .__class_name , method_name = _method_name )
261257 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+
267259 self .__logger .exiting (class_name = self .__class_name , method_name = _method_name , result = Boolean (valid ))
268260 return valid
269261
@@ -309,11 +301,7 @@ def _is_valid_attribute(self, converted_name, helper, info_helper=None):
309301 self .__logger .finest ('MBean {0} attribute {1} is in the WDT ignore list' , mbean_type , converted_name ,
310302 class_name = self .__class_name , method_name = _method_name )
311303 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+
317305 self .__logger .exiting (result = Boolean (valid ), class_name = self .__class_name , method_name = _method_name )
318306 return valid
319307
0 commit comments