I implemented spring boot security saml example using https://github.com/oktadeveloper/okta-spring-boot-saml-example
It's working with Okta IdP.
But, I want to send SAML Request without service provider certificate to my own IdP.
Could you please help me to disable service provider certificate.
Please find below configure code:
@Override protected void configure(final HttpSecurity http) throws Exception {
http.authorizeRequests().antMatchers("/saml*").permitAll().anyRequest().authenticated().and().apply(saml())
.serviceProvider().keyStore().storeFilePath(this.keyStoreFilePath).password(this.password)
.keyname(this.keyAlias).keyPassword(this.password).and().protocol("https")
.hostname(String.format("%s:%s", "localhost", this.port)).basePath("/").and().identityProvider()
.metadataFilePath(this.metadataUrl);
}
Please find attached below sample SAMLrequest: