public class CloudFoundryCertificateTruster
extends java.lang.Object
implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
| Constructor and Description |
|---|
CloudFoundryCertificateTruster() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext) |
static void |
trustCertificates()
If the CF_TARGET env var starts with https://, gets the certificate for
that host and trust it if untrusted.
|
public static void trustCertificates()
public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>