File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
core/src/main/python/wlsdeploy/tool/discover Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -363,8 +363,10 @@ def discover_security_configuration(self):
363363 secure_mode = self ._find_singleton_name_in_folder (location )
364364 if secure_mode is not None :
365365 location .add_name_token (self ._aliases .get_name_token (location ), secure_mode )
366- result [model_constants .SECURE_MODE ] = OrderedDict ()
367- self ._populate_model_parameters (result [model_constants .SECURE_MODE ], location )
366+ secure_mode = OrderedDict ()
367+ self ._populate_model_parameters (secure_mode , location )
368+ if len (secure_mode ) > 0 :
369+ result [model_constants .SECURE_MODE ] = secure_mode
368370 location .pop_location ()
369371 location .append_location (model_constants .REALM )
370372 result [model_constants .REALM ] = OrderedDict ()
You can’t perform that action at this time.
0 commit comments