public class TLSProtocolConfigurer
extends java.lang.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(java.lang.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(java.lang.String sslHostnameVerification)
Hostname verifier to use for verification of SSL connections.
|
void |
setTrustedKeys(java.util.Set<java.lang.String> trustedKeys)
When not set all certificates included in the keystore will be used as trusted certificate authorities.
|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
- error@Autowired public void setKeyManager(KeyManager keyManager)
keyManager
- key managerpublic void setSslHostnameVerification(java.lang.String sslHostnameVerification)
sslHostnameVerification
- hostname verification type flagpublic void setTrustedKeys(java.util.Set<java.lang.String> trustedKeys)
trustedKeys
- trusted keyspublic void setProtocolName(java.lang.String protocolName)
protocolName
- protocolpublic void setProtocolPort(int protocolPort)
protocolPort
- port