Skip to content

Commit 94ac256

Browse files
CarolynRountreeddsharpe
authored andcommitted
fix for security configuration in alias definition and credential injection (#505)
1 parent ba1837f commit 94ac256

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/main/python/wlsdeploy/tool/util/variable_injector.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,9 @@ def __traverse_location(iterate_location, name_list, last_folder=None, last_fold
389389
if last_folder_short is not None:
390390
name_list.insert(0, last_folder_short)
391391
try:
392-
if self.__aliases.supports_multiple_mbean_instances(iterate_location) or \
393-
self.__aliases.is_custom_folder_allowed(iterate_location):
392+
if not self.__aliases.is_artificial_type_folder(location) and \
393+
(self.__aliases.supports_multiple_mbean_instances(iterate_location) or
394+
self.__aliases.is_custom_folder_allowed(iterate_location)):
394395
name_token = self.__aliases.get_name_token(iterate_location)
395396
name = iterate_location.get_name_for_token(name_token)
396397
name_list.insert(0, name)

0 commit comments

Comments
 (0)