Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
@Configuration
@Profile(value = "docs" )
@PropertySource(value = "classpath:application-docs.yml", factory = YamlPropertySourceFactory::class )
Loads application-docs.yml from this library when the "docs" Spring profile is active.
Link copied to clipboard
@Configuration
@Profile(value = "test" )
@PropertySource(value = "classpath:application-test.yml", factory = YamlPropertySourceFactory::class )
Link copied to clipboard
Link copied to clipboard
@Configuration
@ConditionalOnProperty(name = "cryptotrader.api.cors.enabled", havingValue = "true", matchIfMissing = true )
Central CORS configuration for the API.
Link copied to clipboard
@Configuration
@Profile(value = "!test" )
@PropertySource(value = "classpath:application-defaults.yml", factory = YamlPropertySourceFactory::class, ignoreResourceNotFound = true )
Link copied to clipboard
@Configuration(value = "apiLibrarySecurityConfig" )
@EnableWebSecurity
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET )
@ConditionalOnProperty(name = "cryptotrader.api.security.enabled", havingValue = "true", matchIfMissing = true )
Link copied to clipboard
Link copied to clipboard
@Configuration
@EnableWebSecurity
@EnableMethodSecurity(prePostEnabled = true )
Application Security configuration.
Link copied to clipboard