File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/modules/ROOT/pages/servlet/saml2/login Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public class SecurityConfig {
139139 public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
140140 OpenSaml4AuthenticationProvider authenticationProvider = new OpenSaml4AuthenticationProvider();
141141 authenticationProvider.setAssertionValidator(OpenSaml4AuthenticationProvider
142- .createDefaultAssertionValidator (assertionToken -> {
142+ .createDefaultAssertionValidatorWithParameters (assertionToken -> {
143143 Map<String, Object> params = new HashMap<>();
144144 params.put(CLOCK_SKEW, Duration.ofMinutes(10).toMillis());
145145 // ... other validation parameters
@@ -171,7 +171,7 @@ open class SecurityConfig {
171171 val authenticationProvider = OpenSaml4AuthenticationProvider()
172172 authenticationProvider.setAssertionValidator(
173173 OpenSaml4AuthenticationProvider
174- .createDefaultAssertionValidator (Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext> {
174+ .createDefaultAssertionValidatorWithParameters (Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext> {
175175 val params: MutableMap<String, Any> = HashMap()
176176 params[CLOCK_SKEW] =
177177 Duration.ofMinutes(10).toMillis()
You can’t perform that action at this time.
0 commit comments