From 66c3b96d91aa34b09f0eb04f4888a9cbbcc3bcac Mon Sep 17 00:00:00 2001 From: emanipravallika Date: Thu, 21 Mar 2024 15:17:38 +0530 Subject: [PATCH] OP-21881: Bugfix --- .../gate/security/ldap/LdapSsoConfig.groovy | 18 ------------------ gate-web/gate-web.gradle | 5 ++++- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/gate-ldap/src/main/groovy/com/netflix/spinnaker/gate/security/ldap/LdapSsoConfig.groovy b/gate-ldap/src/main/groovy/com/netflix/spinnaker/gate/security/ldap/LdapSsoConfig.groovy index fda91160b3..550ea99688 100644 --- a/gate-ldap/src/main/groovy/com/netflix/spinnaker/gate/security/ldap/LdapSsoConfig.groovy +++ b/gate-ldap/src/main/groovy/com/netflix/spinnaker/gate/security/ldap/LdapSsoConfig.groovy @@ -81,11 +81,6 @@ class LdapSsoConfig { @Autowired LoginProps loginProps - /* @Autowired - public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { - auth.userDetailsService(userDataService).passwordEncoder(passwordEncoder()); - }*/ - @Bean public PasswordEncoder passwordEncoder() { return new BCryptPasswordEncoder(); @@ -140,19 +135,6 @@ class LdapSsoConfig { } return http.build() as SecurityFilterChain -/* def authenticationManager = ctx.getBean("authenticationManager") as AuthenticationManager - defaultCookieSerializer.setSameSite(null) - http.formLogin() - if (loginProps.mode == null || loginProps.mode.equalsIgnoreCase("session")) - { - authConfig.configure(http) - http.addFilterBefore(new BasicAuthenticationFilter(authenticationManager), UsernamePasswordAuthenticationFilter) - http.csrf().disable(); - } - else if (loginProps.mode !=null && loginProps.mode.equalsIgnoreCase("token")) { - authConfig.jwtconfigure(http) - } - return http.build() as SecurityFilterChain*/ } @Bean diff --git a/gate-web/gate-web.gradle b/gate-web/gate-web.gradle index 105c323050..7189da54ed 100644 --- a/gate-web/gate-web.gradle +++ b/gate-web/gate-web.gradle @@ -61,7 +61,10 @@ dependencies { } implementation 'commons-fileupload:commons-fileupload:1.5' implementation 'org.apache.camel:camel-core:3.14.1' - implementation 'org.apache.camel:camel-rabbitmq:3.14.1' + implementation ('org.apache.camel:camel-rabbitmq:3.14.1') { + exclude group: 'com.rabbitmq', module: 'amqp-client' + } + implementation group: 'com.rabbitmq', name: 'amqp-client', version: '5.18.0' implementation 'org.apache.camel:camel-jackson:3.14.1' runtimeOnly "io.spinnaker.kork:kork-runtime"