com.github.ulisesbocchio.spring.boot.security.saml.properties.TLSProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-security-saml Show documentation
Show all versions of spring-boot-security-saml Show documentation
Eases Integration between Spring Boot and spring-security-saml through properties and adapters
package com.github.ulisesbocchio.spring.boot.security.saml.properties;
import lombok.Data;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* Configuration Properties for {@link org.springframework.security.saml.trust.httpclient.TLSProtocolConfigurer}
*
* @author Ulises Bocchio
*/
@Data
public class TLSProperties {
/**
* Name of protocol to register.
*/
private String protocolName = "https";
/**
* Default port of protocol.
*/
private int protocolPort = 443;
/**
* Hostname verifier to use for verification of SSL connections, e.g. for ArtifactResolution.
*/
private String sslHostnameVerification = "default";
/**
* Keys used as anchors for trust verification when PKIX mode is enabled for the local entity. In case value is
* null all keys in the keyStore will be treated as trusted.
*/
private Set trustedKeys = new HashSet<>();
}