Skip to content
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

Allow validate_subject_confirmation Response validation to be skipped #261

Merged

Conversation

sthanson
Copy link
Contributor

Status

READY

Migrations

NO

Description

When you are initializing a new OneLogin::RubySaml::Response, this adds an additional option called skip_subject_confirmation. When skip_subject_confirmation is true, the validate_subject_confirmation validation is skipped

Related PRs

List related PRs against other branches:

none

Todos

  • Tests
  • Documentation

Deploy Notes

No deploy notes. After the deploy there will be a new option available to you.

Steps to Test or Reproduce

Run validations on an assertion with a bad Subject > SubjectConfirmation. They should fail.
Then initialize a OneLogin::RubySaml::Response with {skip_subject_confirmation: true} in the options. Now the bad assertion will pass validations.

Impacted Areas in Application

This affects the saml validations that are run on your Response. By default nothing will change. If you pass {skip_subject_confirmation: true} to the OneLogin::RubySaml::Response, the subject confirmation validation will be skipped

pitbulk added a commit that referenced this pull request Aug 18, 2015
…ion_flag

Allow validate_subject_confirmation Response validation to be skipped
@pitbulk pitbulk merged commit b86345c into SAML-Toolkits:master Aug 18, 2015
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.

2 participants