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

org.zodiac.autoconfigure.security.oauth.SecurityOAuthAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.security.oauth;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.zodiac.autoconfigure.security.condition.ConditionalOnSecurityConfigEnabled;
import org.zodiac.autoconfigure.security.condition.ConditionalOnSecurityOAuthEnabled;

@ConditionalOnSecurityOAuthEnabled
@ConditionalOnSecurityConfigEnabled
@SpringBootConfiguration
public class SecurityOAuthAutoConfiguration {

    public SecurityOAuthAutoConfiguration() {
        super();
    }

    @Bean
    @ConditionalOnMissingBean
    @ConfigurationProperties(prefix = org.zodiac.security.oauth.constants.OAuthSystemPropertiesConstants.SPRING_SECURITY_OAUTH_PREFIX)
    protected SecurityOAuthConfigProperties securityOAuthConfigProperties() {
        return new SecurityOAuthConfigProperties();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy