Skip to content

Commit 8987ba5

Browse files
committed
Add engineblock parameters for SBS integration
1 parent f3214da commit 8987ba5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

roles/engineblock/defaults/main.yml

+9
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
@@ -92,6 +93,14 @@ engine_stepup_gateway_sfo_sso_location: "https://{{ engine_stepup_gateway_domain
9293
# The public key from the Stepup Gateway IdP
9394
engine_stepup_gateway_sfo_public_key_file: "{{ engine_keys.default.publicFile }}"
9495

96+
# SBS interrupt settings
97+
engine_sbs_base_url: "sbs.{{ base_domain }}"
98+
engine_sbs_attributes_allowed:
99+
- 'urn:mace:dir:attribute-def:eduPersonEntitlement'
100+
- 'urn:mace:dir:attribute-def:uid'
101+
- 'urn:mace:dir:attribute-def:eduPersonPrincipalName'
102+
- 'urn:oid:1.3.6.1.4.1.24552.500.1.1.1.13'
103+
95104
## The minimum priority of messages that will be logged
96105
engine_logging_passthru_level: NOTICE
97106

roles/engineblock/templates/parameters.yml.j2

+11
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ parameters:
235235
feature_enable_consent: {{ engine_feature_enable_consent | bool | to_json }}
236236
feature_stepup_sfo_override_engine_entityid: {{ engine_feature_stepup_override_entityid | bool | to_json }}
237237
feature_enable_idp_initiated_flow: {{ engine_feature_idp_initiated_flow | bool | to_json }}
238+
feature_enable_sram_interrupt: {{ engine_feature_enable_sbs_interrupt | bool | to_json }}
238239
##########################################################################################
239240
## PROFILE SETTINGS
240241
##########################################################################################
@@ -312,3 +313,13 @@ parameters:
312313
# used in the authentication log record. The attributeName will be searched in the response attributes and if present
313314
# the log data will be enriched. The values of the response attributes are the final values after ARP and Attribute Manipulation.
314315
auth.log.attributes: {{ engineblock_log_attributes }}
316+
317+
##########################################################################################
318+
## SBS external authorization/attribute enrichtment
319+
##########################################################################################
320+
sram.api_token: "{{ engine_sbs_api_token | default('') }}"
321+
sram.base_url: "{{ engine_sbs_base_url }}"
322+
sram.authz_location: "authz_eb"
323+
sram.interrupt_location: "interrupt"
324+
sram.verify_peer: true
325+
sram.allowed_attributes: "{{ engine_sbs_attributes_allowed }}"

0 commit comments

Comments
 (0)