All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jahnelgroup.jackson.security.principal.PrincipalAwareAutoConfiguration.kt Maven / Gradle / Ivy

package com.jahnelgroup.jackson.security.principal

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Primary

/**
 * PrincipalAwareAutoConfiguration
 */
@Configuration
class PrincipalAwareAutoConfiguration {

    @Bean
    @Primary
    @ConditionalOnMissingBean(SpringSecurityPrincipalAware::class)
    fun principalAware() = SpringSecurityPrincipalAware()

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy