package org.o.ran.oam.nf.oam.adopter.app.config;
import org.o.ran.oam.nf.oam.adopter.app.properties.ServerProperties;
package org.o.ran.oam.nf.oam.adopter.app.config;
import org.o.ran.oam.nf.oam.adopter.app.properties.ServerProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
- final SslProperties ssl = properties.getSsl();
- if (ssl != null && ssl.getEnabled() != null && ssl.getEnabled()) {
- http.requiresChannel().anyRequest().requiresSecure();
- }
+ http.requiresChannel().anyRequest().requiresSecure();
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}