File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
core/src/main/python/wlsdeploy Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 262
262
SAML2_CREDENTIAL_MAPPER = 'SAML2CredentialMapper'
263
263
SAML2_IDENTITY_ASSERTER = 'SAML2IdentityAsserter'
264
264
SCRIPT_ACTION = 'ScriptAction'
265
+ SECURE_MODE = 'SecureMode'
265
266
SECURITY = 'Security'
266
267
SECURITY_CONFIGURATION = 'SecurityConfiguration'
267
268
SECURITY_CONFIGURATION_CD_ENABLED = 'CrossDomainSecurityEnabled'
Original file line number Diff line number Diff line change @@ -348,6 +348,15 @@ def discover_security_configuration(self):
348
348
location .add_name_token (self ._aliases .get_name_token (location ), security_configuration )
349
349
self ._populate_model_parameters (result , location )
350
350
self ._massage_security_credential (result , location )
351
+ #Security Configuration has 2 subfolders, SecureMode and Realm
352
+ #Realm needs to be handled with special code, so discover SecureMode manually
353
+ location .append_location (model_constants .SECURE_MODE )
354
+ secure_mode = self ._find_singleton_name_in_folder (location )
355
+ if secure_mode is not None :
356
+ location .add_name_token (self ._aliases .get_name_token (location ), secure_mode )
357
+ result [model_constants .SECURE_MODE ] = OrderedDict ()
358
+ self ._populate_model_parameters (result [model_constants .SECURE_MODE ], location )
359
+ location .pop_location ()
351
360
location .append_location (model_constants .REALM )
352
361
result [model_constants .REALM ] = OrderedDict ()
353
362
realms = self ._find_names_in_folder (location )
You can’t perform that action at this time.
0 commit comments