Skip to content

Commit 810efdb

Browse files
Readd the 10.3.6 support
1 parent 8a641b2 commit 810efdb

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class SecurityProviderCreator(Creator):
2626
2727
Configuration of the security realms is not supported in 11g -
2828
Default providers in 11g have no name. Offline wlst returns 'Provider' as each provider name instead.
29-
The offline wlst will lose its way if you attempt to remove the MBean named provider, or if you rename
30-
the provider and attempt to rename the new provider and most of the time you can add
29+
By deleting and re-adding, the providers are added with the appropriate name field.
3130
3231
In recap, the issues found for realms are as follows. These issues are handled in this release.
3332
1. The weblogic template in 11g installs default security providers with no name. In offline
@@ -36,8 +35,8 @@ class SecurityProviderCreator(Creator):
3635
2. The 11g release does not support custom security providers in offline wlst.
3736
3. In 11g, the security realm must be configured after the domain home is created with the write, or the
3837
configuration will not be persisted to the domain configuration file.
39-
4. Offline wlst in 11g does not support rename and delete of security providers
4038
4. Offline wlst in 11g and 12c does not support reorder of the security providers with the set statement.
39+
5. All 11g and 12c versions less than 12.2.1.2 cannot perform a delete on an Adjudicator object.
4140
4241
The SecurityConfiguration is added if it does not exist. The default realm is added if it does not exist.
4342
If it is not an 11g target domain, then configure the realms with merge to model with the providers
@@ -80,7 +79,7 @@ def create_security_configuration(self, location):
8079

8180
# This will leave 11g asis with the default security realm for the current release. No configuration
8281
# will be done to the 11g default security realm.
83-
if len(security_configuration_nodes) > 0 and self._configure_security_configuration():
82+
if len(security_configuration_nodes) > 0: # and self._configure_security_configuration():
8483
self._create_mbean(SECURITY_CONFIGURATION, security_configuration_nodes, location, log_created=True)
8584

8685
self.logger.exiting(class_name=self.__class_name, method_name=_method_name)
@@ -139,8 +138,7 @@ def _configure_security_configuration(self):
139138
_method_name = '_configure_security_configuration'
140139
if not self.wls_helper.is_configure_security_configuration_supported():
141140
# Do we bypass or end the update ?
142-
self.logger.warning('Unable to configure the SecurityConfiguration in the target domain release {0}'
143-
' using weblogic-deploy {1}', self.wls_helper.get_weblogic_version(),
141+
self.logger.warning('WLSDPLY-12232', self.wls_helper.get_weblogic_version(),
144142
WDTVersion.getVersion(), class_name=self.__class_name, method_name=_method_name)
145143
return False
146144
return True

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ WLSDPLY-12228=The model does not define the required attribute {0} in the {1} se
993993
WLSDPLY-12229=Changing the administration server name from {0} to {1}
994994
WLSDPLY-12230=Creating placeholder for Coherence cluster {0}
995995
WLSDPLY-12231=Apply Domain {0} domain level attributes
996-
WLSDPLY-12232=Unable to configure the SecurityConfiguration in a domain release {0} using weblogic-deploy {1}
996+
WLSDPLY-12232=Unable to configure the SecurityConfiguration in domain release {0} using weblogic-deploy {1}
997997

998998
# domain_typedef.py
999999
WLSDPLY-12300={0} got the domain type {1} but the domain type definition file {2} was not valid: {3}

0 commit comments

Comments
 (0)