Skip to content

Wdt 694 secure mode not discovered #1324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5b7f82b
Fix for flattened folders without tokens in location
CarolynRountree Oct 7, 2022
5a03cd4
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Oct 26, 2022
94f8857
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Oct 27, 2022
3466703
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Oct 27, 2022
12fa7ed
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Oct 31, 2022
12b63a7
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 15, 2022
fc56e10
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 22, 2022
499f88b
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 23, 2022
c35e6b5
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 28, 2022
98ab6f2
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 29, 2022
ed815d1
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 29, 2022
b58411e
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 30, 2022
4d646da
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Nov 30, 2022
76e2306
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 1, 2022
f968f6d
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 2, 2022
d03d4de
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 2, 2022
e79edf7
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 6, 2022
a395a3f
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 12, 2022
6eecb64
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 13, 2022
5d4ea19
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 13, 2022
f57978e
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 14, 2022
857f031
Merge branch 'main' of github.com:oracle/weblogic-deploy-tooling
CarolynRountree Dec 14, 2022
59f468b
secure mode folder not discovered
CarolynRountree Dec 14, 2022
8092057
secure mode folder not discovered
CarolynRountree Dec 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/src/main/python/wlsdeploy/aliases/model_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@
SAML2_CREDENTIAL_MAPPER = 'SAML2CredentialMapper'
SAML2_IDENTITY_ASSERTER = 'SAML2IdentityAsserter'
SCRIPT_ACTION = 'ScriptAction'
SECURE_MODE = 'SecureMode'
SECURITY = 'Security'
SECURITY_CONFIGURATION = 'SecurityConfiguration'
SECURITY_CONFIGURATION_CD_ENABLED = 'CrossDomainSecurityEnabled'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,15 @@ def discover_security_configuration(self):
location.add_name_token(self._aliases.get_name_token(location), security_configuration)
self._populate_model_parameters(result, location)
self._massage_security_credential(result, location)
#Security Configuration has 2 subfolders, SecureMode and Realm
#Realm needs to be handled with special code, so discover SecureMode manually
location.append_location(model_constants.SECURE_MODE)
secure_mode = self._find_singleton_name_in_folder(location)
if secure_mode is not None:
location.add_name_token(self._aliases.get_name_token(location), secure_mode)
result[model_constants.SECURE_MODE] = OrderedDict()
self._populate_model_parameters(result[model_constants.SECURE_MODE], location)
location.pop_location()
location.append_location(model_constants.REALM)
result[model_constants.REALM] = OrderedDict()
realms = self._find_names_in_folder(location)
Expand Down