File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
cwbi-auth-http-client/src/main/java/hec/army/usace/hec/cwbi/auth/http/client Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ public abstract class OpenIdTokenController {
1515 protected abstract String retrieveWellKnownEndpoint (ApiConnectionInfo apiConnectionInfo ) throws IOException ;
1616 public final ApiConnectionInfo retrieveTokenUrl (ApiConnectionInfo apiConnectionInfo , SslSocketData sslSocketData ) throws IOException {
1717 String wellKnownEndpoint = retrieveWellKnownEndpoint (apiConnectionInfo );
18- HttpRequestExecutor executor = new HttpRequestBuilderImpl (new ApiConnectionInfoBuilder (wellKnownEndpoint ).build ())
18+ ApiConnectionInfo wellKnownApiConnectionInfo = new ApiConnectionInfoBuilder (wellKnownEndpoint )
19+ .withSslSocketData (sslSocketData )
20+ .build ();
21+ HttpRequestExecutor executor = new HttpRequestBuilderImpl (wellKnownApiConnectionInfo )
1922 .get ()
2023 .withMediaType (ACCEPT_HEADER );
2124 try (HttpRequestResponse response = executor .execute ()) {
You can’t perform that action at this time.
0 commit comments