Skip to content

Commit f75cb17

Browse files
committed
Add Missing Delegate Call
Issue gh-11658
1 parent 816ebe3 commit f75cb17

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/web/authentication/OpenSaml4AuthenticationRequestResolver.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ public final class OpenSaml4AuthenticationRequestResolver implements Saml2Authen
4242

4343
private final BaseOpenSamlAuthenticationRequestResolver delegate;
4444

45-
private Consumer<AuthnRequestContext> contextConsumer = (parameters) -> {
46-
};
47-
48-
private Clock clock = Clock.systemUTC();
49-
5045
/**
5146
* Construct an {@link OpenSaml4AuthenticationRequestResolver}
5247
* @param registrations a repository for relying and asserting party configuration
@@ -104,7 +99,7 @@ public void setRequestMatcher(RequestMatcher requestMatcher) {
10499
*/
105100
public void setClock(Clock clock) {
106101
Assert.notNull(clock, "clock must not be null");
107-
this.clock = clock;
102+
this.delegate.setClock(clock);
108103
}
109104

110105
/**

0 commit comments

Comments
 (0)