Skip to content

LG-12261 Stop reading from sp_session[:ial]#10091

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-remove-sp-session-ial
Feb 22, 2024
Merged

LG-12261 Stop reading from sp_session[:ial]#10091
jmhooper merged 1 commit intomainfrom
jmhooper-remove-sp-session-ial

Conversation

@jmhooper
Copy link
Contributor

In a previous commit the resolved_authn_context_result was introduced to return a Vot::Parser::Result object that described the requirements for the current SP request considering SP default options. This is intended to be used to replace the keys in the sp_session that serve this purpose including the ial key.

This commit replaces places where the sp_session[:ial] value is read with new reads to the resolved_authn_context_result.

Comment on lines 66 to 72
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe idea for future us would be to migrate this to be an enum column so we can name these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have another story for sending the VoT back to the partner. @theabrad is working on it. For that we'll likely need to add the acr_values and vtr to the identity column and start reading from those instead of the ial and aal columns. Once we do that we can remove this portion entirely.

@jmhooper jmhooper force-pushed the jmhooper-remove-sp-session-ial branch 2 times, most recently from 216fdaf to 1841396 Compare February 21, 2024 14:32
In a previous commit the `resolved_authn_context_result` was introduced to return a `Vot::Parser::Result` object that described the requirements for the current SP request considering SP default options. This is intended to be used to replace the keys in the `sp_session` that serve this purpose including the `ial` key.

This commit replaces places where the `sp_session[:ial]` value is read with new reads to the `resolved_authn_context_result`.

[skip changelog]
@jmhooper jmhooper force-pushed the jmhooper-remove-sp-session-ial branch from 83900f9 to 1b12fee Compare February 21, 2024 16:57
@jmhooper jmhooper marked this pull request as ready for review February 21, 2024 17:55
@jmhooper jmhooper requested a review from a team February 21, 2024 17:56
@jmhooper jmhooper merged commit 10fbbc5 into main Feb 22, 2024
@jmhooper jmhooper deleted the jmhooper-remove-sp-session-ial branch February 22, 2024 15:26
jmhooper added a commit that referenced this pull request Feb 22, 2024
A previous change (ref: #10091) stopped reading from `sp_session[:ial]` and started using the result from the `AuthnContextResolver` instead.

This change follows up by removing writes to the `ial` property in the SP session. This should not be merged until the change to stop reading is fully merged and deployed.

[skip changelog]
jmhooper added a commit that referenced this pull request Feb 23, 2024
A previous change (ref: #10091) stopped reading from `sp_session[:ial]` and started using the result from the `AuthnContextResolver` instead.

This change follows up by removing writes to the `ial` property in the SP session. This should not be merged until the change to stop reading is fully merged and deployed.

[skip changelog]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants