Skip to content

Commit fb9b9f3

Browse files
Update creator.py
1 parent 42623d9 commit fb9b9f3

File tree

1 file changed

+6
-4
lines changed
  • core/src/main/python/wlsdeploy/tool/create

1 file changed

+6
-4
lines changed

core/src/main/python/wlsdeploy/tool/create/creator.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,10 @@ def _delete_existing_providers(self, location):
462462
The security realms providers in the model are processed as merge to the model. Each realm provider
463463
section must be complete and true to the resulting domain. Any existing provider not found in the
464464
model will be removed, and any provider in the model but not in the domain will be added. The resulting
465-
provider list will be ordered as listed in the model.
465+
provider list will be ordered as listed in the model. If the provider type (i.e. AuthenticationProvider)
466+
is not in the model, it is assumed no configuration or ordering is needed, and the provider is skipped.
467+
If the provider type is in the model, but there is no MBean entry under the provider, then it is
468+
assumed that all providers for that provider type must be removed.
466469
467470
For create, the default realm and default providers have been added by the weblogic base template and any
468471
extension templates. They have default values. These providers will be removed from the domain. During
@@ -477,9 +480,8 @@ def _delete_existing_providers(self, location):
477480
with the correct name. And the DefaultAuthenticationProvider successfully re-adds with the correct default
478481
identity asserter.
479482
480-
This release does not support updating the provider list. Because this means that the realms cannot be
481-
configured accurately, the security configuration is not configured. It is in the original configuration
482-
applied by the templates.
483+
This release also supports updating the security configuration realms in both offline and online mode. This
484+
release requires a complete list of providers as described in the first paragraph.
483485
484486
:param location: current context of the location pointing at the provider mbean
485487
"""

0 commit comments

Comments
 (0)