Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#157525402] https://www.pivotaltracker.com/story/show/157525402 Signed-off-by: Bruce Ricard <bruce.ricard@gmail.com>
- Loading branch information
1 parent
63dcbc8
commit 8197f29
Showing
9 changed files
with
190 additions
and
359 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
server/src/main/java/org/cloudfoundry/identity/uaa/impl/config/RestTemplateConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.cloudfoundry.identity.uaa.impl.config; | ||
|
||
import org.cloudfoundry.identity.uaa.util.UaaHttpRequestUtils; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.web.client.RestTemplate; | ||
|
||
@Configuration | ||
public class RestTemplateConfig { | ||
|
||
@Bean | ||
public RestTemplate nonTrustingRestTemplate() { | ||
return new RestTemplate(UaaHttpRequestUtils.createRequestFactory(false, 30_000)); | ||
} | ||
|
||
@Bean | ||
public RestTemplate trustingRestTemplate() { | ||
return new RestTemplate(UaaHttpRequestUtils.createRequestFactory(true, 30_000)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
server/src/main/java/org/cloudfoundry/identity/uaa/provider/saml/MetadataFetcher.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.