Skip to content

Commit 9951a3d

Browse files
committed
Add engineblock parameters for SBS integration
1 parent 0371174 commit 9951a3d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

roles/engineblock/defaults/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ engine_api_feature_consent_listing: 1
1616
engine_api_feature_consent_remove: 0
1717
engine_api_feature_metadata_api: 1
1818
engine_api_feature_deprovision: 1
19+
engine_feature_enable_sbs_interrupt: 0
1920

2021
# Cutoff point for showing unfiltered IdPs on the WAYF
2122
engine_wayf_cutoff_point_for_showing_unfiltered_idps: 50
@@ -86,6 +87,14 @@ engine_stepup_gateway_sfo_sso_location: "https://{{ engine_stepup_gateway_domain
8687
# The public key from the Stepup Gateway IdP
8788
engine_stepup_gateway_sfo_public_key_file: "{{ engine_keys.default.publicFile }}"
8889

90+
# SBS interrupt settings
91+
engine_sbs_base_url: "sbs.{{ base_domain }}"
92+
engine_sbs_attributes_allowed:
93+
- 'urn:mace:dir:attribute-def:eduPersonEntitlement'
94+
- 'urn:mace:dir:attribute-def:uid'
95+
- 'urn:mace:dir:attribute-def:eduPersonPrincipalName'
96+
- 'urn:oid:1.3.6.1.4.1.24552.500.1.1.1.13'
97+
8998
## The minimum priority of messages that will be logged
9099
engine_logging_passthru_level: NOTICE
91100

roles/engineblock/templates/parameters.yml.j2

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ parameters:
230230
feature_enable_consent: {{ engine_feature_enable_consent | bool | to_json }}
231231
feature_stepup_sfo_override_engine_entityid: {{ engine_feature_stepup_override_entityid | bool | to_json }}
232232
feature_enable_idp_initiated_flow: {{ engine_feature_idp_initiated_flow | bool | to_json }}
233+
feature_enable_sram_interrupt: {{ engine_feature_enable_sbs_interrupt | bool | to_json }}
233234
##########################################################################################
234235
## PROFILE SETTINGS
235236
##########################################################################################
@@ -307,3 +308,13 @@ parameters:
307308
# used in the authentication log record. The attributeName will be searched in the response attributes and if present
308309
# the log data will be enriched. The values of the response attributes are the final values after ARP and Attribute Manipulation.
309310
auth.log.attributes: {{ engineblock_log_attributes }}
311+
312+
##########################################################################################
313+
## SBS external authorization/attribute enrichtment
314+
##########################################################################################
315+
sram.api_token: "{{ engine_sbs_api_token | default('') }}"
316+
sram.base_url: "{{ engine_sbs_base_url }}"
317+
sram.authz_location: "authz_eb"
318+
sram.interrupt_location: "interrupt"
319+
sram.verify_peer: true
320+
sram.allowed_attributes: "{{ engine_sbs_attributes_allowed }}"

0 commit comments

Comments
 (0)