You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Option to add/modify/remove SAML20AssertionValidators.attributeValidator especially subjects (BearerSubjectConfirmationValidator) in OpenSaml4AuthenticationProvider.java.
SAML20AssertionValidators.attributeValidator cannot be modified.
Even the method: createDefaultAssertionValidatorWithParameters() does not provide the option to modify SAML20AssertionValidators.attributeValidator
Current Behavior
Currently, it is hardcoded with SAML20AssertionValidators.attributeValidator with default conditions:
AudienceRestrictionConditionValidator
DelegationRestrictionConditionValidator
ConditionValidator
ProxyRestrictionConditionValidator
And a subject:
BearerSubjectConfirmationValidator
Context
This will give flexibility to take the default assertion validator (createDefaultAssertionValidatorWithParameters) and modify only specific conditions or subjects.
The text was updated successfully, but these errors were encountered:
- Ships with support for customizing the OpenSAML validators to use
- Or, you can supply your own instance of SAML20AssertionValidator
Closesspring-projectsgh-15578
jzheaux
changed the title
Option to modify SAML20AssertionValidators.attributeValidator in OpenSaml4AuthenticationProvider
Support Customizing Set of OpenSAML Validators
Feb 25, 2025
Expected Behavior
Option to add/modify/remove SAML20AssertionValidators.attributeValidator especially subjects (BearerSubjectConfirmationValidator) in OpenSaml4AuthenticationProvider.java.
SAML20AssertionValidators.attributeValidator cannot be modified.
Even the method: createDefaultAssertionValidatorWithParameters() does not provide the option to modify SAML20AssertionValidators.attributeValidator
Current Behavior
Currently, it is hardcoded with SAML20AssertionValidators.attributeValidator with default conditions:
And a subject:
Context
This will give flexibility to take the default assertion validator (createDefaultAssertionValidatorWithParameters) and modify only specific conditions or subjects.
The text was updated successfully, but these errors were encountered: