Skip to content

Commit 8d6f788

Browse files
Add trust identity asserter to alias definitions
1 parent 3f7b0d2 commit 8d6f788

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

core/src/main/python/wlsdeploy/aliases/alias_constants.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ def __build_security_provider_data_structures(name_map, base_path):
163163
'SQLAuthenticator': 'weblogic.security.providers.authentication.SQLAuthenticator',
164164
'VirtualUserAuthenticator': 'weblogic.security.providers.authentication.VirtualUserAuthenticator',
165165
'SAMLAuthenticator': 'weblogic.security.providers.saml.SAMLAuthenticator',
166-
'SAMLIdentityAsserterV2': 'weblogic.security.providers.saml.SAMLIdentityAsserterV2'
166+
'SAMLIdentityAsserterV2': 'weblogic.security.providers.saml.SAMLIdentityAsserterV2',
167+
'TrustServiceIdentityAsserter': 'oracle.security.jps.wls.providers.trust.TrustServiceIdentityAsserter',
167168
}
168169

169170
AUTHORIZATION_PROVIDER_NAME_MAP = {

core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/SecurityConfiguration.json

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"copyright": "Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.",
2+
"copyright": "Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.",
33
"license": "The Universal Permissive License (UPL), Version 1.0",
44
"wlst_type": "SecurityConfiguration",
55
"child_folders_type": "single_unpredictable",
@@ -876,6 +876,24 @@
876876
"WP001": "/SecurityConfiguration/%SEC_CONFIG%/Realm${:s}/%REALM%/AuthenticationProvider${:s}/%PROVIDER%"
877877
}
878878
},
879+
"TrustServiceIdentityAsserter": {
880+
"wlst_type": "oracle.security.jps.wls.providers.trust.TrustServiceIdentityAsserter",
881+
"child_folders_type": "none",
882+
"version": "[12.1.2,]",
883+
"folders": {},
884+
"attributes": {
885+
"ActiveType": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "ActiveType", "wlst_path": "WP001", "value": {"default": "['Authorization']" }, "wlst_type": "list" } ],
886+
"Base64DecodingRequired": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "Base64DecodingRequired", "wlst_path": "WP001", "value": {"default": false }, "wlst_type": "boolean", "get_method" : "GET", "access": "RO" } ],
887+
"Description": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "Description", "wlst_path": "WP001", "value": {"default": "Trust Service Identity Assertion Provider" }, "wlst_type": "string" } ],
888+
"ProviderClassName": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "ProviderClassName", "wlst_path": "WP001", "value": {"default": "oracle.security.jps.wls.providers.trust.TrustServiceAsserterProviderImp" }, "wlst_type": "string", "get_method" : "GET", "access": "RO" } ],
889+
"SupportedTypes": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "SupportedTypes", "wlst_path": "WP001", "value": {"default": "['Authorization']" }, "wlst_type": "string", "get_method" : "GET", "access": "RO" } ],
890+
"Version": [{"version": "[12.1.2,)", "wlst_mode": "both", "wlst_name": "Version", "wlst_path": "WP001", "value": {"default": "1.0" }, "wlst_type": "string", "get_method" : "GET", "access": "RO" } ]
891+
},
892+
"wlst_attributes_path": "WP001",
893+
"wlst_paths": {
894+
"WP001": "/SecurityConfiguration/%SEC_CONFIG%/Realm${:s}/%REALM%/AuthenticationProvider${:s}/%PROVIDER%"
895+
}
896+
},
879897
"VirtualUserAuthenticator": {
880898
"wlst_type": "${VirtualUserAuthenticator:weblogic.security.providers.authentication.VirtualUserAuthenticator}",
881899
"child_folders_type": "none",

core/src/test/python/attributes_test.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
33
The Universal Permissive License (UPL), Version 1.0
44
"""
55
import unittest
@@ -65,6 +65,7 @@ def _format(self, key, *args):
6565
def _is_filtered_folder(self, name, location):
6666
result = False
6767

68+
6869
if name == 'Domain':
6970
result = True
7071
elif location.get_folder_path() == '/JDBCSystemResource/JdbcResource/JDBCDriverParams/Properties' and \
@@ -89,7 +90,8 @@ def _is_filtered_folder(self, name, location):
8990
result = True
9091
elif location.get_folder_path() == '/SecurityConfiguration/Realm/Auditor/DefaultAuditor':
9192
result = True
92-
93+
elif location.get_folder_path() == '/SecurityConfiguration/Realm/AuthenticationProvider/TrustServiceIdentityAsserter':
94+
result = True
9395
return result
9496

9597
if __name__ == '__main__':

0 commit comments

Comments
 (0)