Skip to content

Commit

Permalink
change ConditionalOnProperty for CsmAzureSecurityConfiguration
Browse files Browse the repository at this point in the history
use "csm.platform.identityProvider.code" instead of "csm.platform.vendor"
  • Loading branch information
jreynard-code committed May 20, 2024
1 parent a607006 commit d2a7bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ publishing {
}

repositories {
mavenLocal()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Cosmo-Tech/cosmotech-api-common")
Expand Down Expand Up @@ -152,7 +151,7 @@ val springWebVersion = "6.1.4"
val springBootVersion = "3.2.5"

// Implementation
val cosmotechApiCommonVersion = "1.0.2-SNAPSHOT"
val cosmotechApiCommonVersion = "1.0.1"
val azureSpringBootBomVersion = "3.14.0"
val azureSDKBomVersion = "1.2.7"
val azureKustoIngestVersion = "3.2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import org.springframework.util.StringUtils

@Configuration
@EnableWebSecurity
@ConditionalOnProperty(name = ["csm.platform.identityProvider.code"], havingValue = "azure", matchIfMissing = true)
@ConditionalOnProperty(
name = ["csm.platform.identityProvider.code"], havingValue = "azure", matchIfMissing = true)
@EnableMethodSecurity(securedEnabled = true, prePostEnabled = true, proxyTargetClass = true)
internal open class CsmAzureSecurityConfiguration(
private val csmPlatformProperties: CsmPlatformProperties,
Expand Down

0 comments on commit d2a7bad

Please sign in to comment.