public class TLSProtocolConfigurer extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
TLSProtocolConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the socket factory and registers it to the HTTP Client's protocol registry.
|
void |
setKeyManager(KeyManager keyManager)
Key manager includes all cryptography material for the SAML instance.
|
void |
setProtocolName(String protocolName)
Name of protocol (ID) to register to HTTP Client, https by default.
|
void |
setProtocolPort(int protocolPort)
Default port for protocol, 443 by default.
|
void |
setSslHostnameVerification(String sslHostnameVerification)
Hostname verifier to use for verification of SSL connections.
|
void |
setTrustedKeys(Set<String> trustedKeys)
When not set all certificates included in the keystore will be used as trusted certificate authorities.
|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - error@Autowired public void setKeyManager(KeyManager keyManager)
keyManager - key managerpublic void setSslHostnameVerification(String sslHostnameVerification)
sslHostnameVerification - hostname verification type flagpublic void setTrustedKeys(Set<String> trustedKeys)
trustedKeys - trusted keyspublic void setProtocolName(String protocolName)
protocolName - protocolpublic void setProtocolPort(int protocolPort)
protocolPort - port