@@ -26,8 +26,7 @@ class SecurityProviderCreator(Creator):
26
26
27
27
Configuration of the security realms is not supported in 11g -
28
28
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.
31
30
32
31
In recap, the issues found for realms are as follows. These issues are handled in this release.
33
32
1. The weblogic template in 11g installs default security providers with no name. In offline
@@ -36,8 +35,8 @@ class SecurityProviderCreator(Creator):
36
35
2. The 11g release does not support custom security providers in offline wlst.
37
36
3. In 11g, the security realm must be configured after the domain home is created with the write, or the
38
37
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
40
38
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.
41
40
42
41
The SecurityConfiguration is added if it does not exist. The default realm is added if it does not exist.
43
42
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):
80
79
81
80
# This will leave 11g asis with the default security realm for the current release. No configuration
82
81
# 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():
84
83
self ._create_mbean (SECURITY_CONFIGURATION , security_configuration_nodes , location , log_created = True )
85
84
86
85
self .logger .exiting (class_name = self .__class_name , method_name = _method_name )
@@ -139,8 +138,7 @@ def _configure_security_configuration(self):
139
138
_method_name = '_configure_security_configuration'
140
139
if not self .wls_helper .is_configure_security_configuration_supported ():
141
140
# 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 (),
144
142
WDTVersion .getVersion (), class_name = self .__class_name , method_name = _method_name )
145
143
return False
146
144
return True
0 commit comments