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 {
139
139
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
140
140
OpenSaml4AuthenticationProvider authenticationProvider = new OpenSaml4AuthenticationProvider();
141
141
authenticationProvider.setAssertionValidator(OpenSaml4AuthenticationProvider
142
- .createDefaultAssertionValidator (assertionToken -> {
142
+ .createDefaultAssertionValidatorWithParameters (assertionToken -> {
143
143
Map<String, Object> params = new HashMap<>();
144
144
params.put(CLOCK_SKEW, Duration.ofMinutes(10).toMillis());
145
145
// ... other validation parameters
@@ -171,7 +171,7 @@ open class SecurityConfig {
171
171
val authenticationProvider = OpenSaml4AuthenticationProvider()
172
172
authenticationProvider.setAssertionValidator(
173
173
OpenSaml4AuthenticationProvider
174
- .createDefaultAssertionValidator (Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext> {
174
+ .createDefaultAssertionValidatorWithParameters (Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext> {
175
175
val params: MutableMap<String, Any> = HashMap()
176
176
params[CLOCK_SKEW] =
177
177
Duration.ofMinutes(10).toMillis()
You can’t perform that action at this time.
0 commit comments