Package com.skava.auth
Class AuthApplication
java.lang.Object
com.skava.auth.AuthApplication
@SpringBootApplication(scanBasePackages="com.skava,${spring.additionalPackages.scan}")
@EntityScan(basePackages={"com.skava","${spring.additionalPackages.scan}"})
@PropertySources(@PropertySource(value={"classpath:swagger-docs.yml","${spring.additonal-swagger-doc.ymls}"},factory=com.skava.core.yaml.YamlPropertySourceFactory.class))
@RestController
public class AuthApplication
extends Object
Spring boot application main class for Authorization MS.
- Since:
- 8.5
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncacheClearByName
(String cacheName) org.springdoc.core.customizers.OperationCustomizer
brave.http.HttpTracing
httpTracing
(brave.Tracing tracing) static void
This method used to start a Authorization as a spring boot application.io.swagger.v3.oas.models.OpenAPI
openApi()
This method return the swagger API documentation information as a container object by spring fox support classes and methods.splitCommaSepratedString
(String commaSepratedString) org.springframework.security.crypto.encrypt.TextEncryptor
brave.Tracing
tracing()
Tracing builderbrave.jakarta.servlet.TracingFilter
tracingFilter
(brave.http.HttpTracing tracing)
-
Constructor Details
-
AuthApplication
public AuthApplication()
-
-
Method Details
-
main
This method used to start a Authorization as a spring boot application.- Parameters:
args
- an array ofString
as comment line arguments to initiate spring boot application.
-
textEncryptor
@Bean public org.springframework.security.crypto.encrypt.TextEncryptor textEncryptor()- Returns:
- DefaultTextEncryptorImpl
-
httpTracing
@Bean @ConditionalOnMissingBean public brave.http.HttpTracing httpTracing(brave.Tracing tracing) -
tracingFilter
@Bean @ConditionalOnMissingBean public brave.jakarta.servlet.TracingFilter tracingFilter(brave.http.HttpTracing tracing) -
tracing
@Bean @ConditionalOnMissingBean public brave.Tracing tracing()Tracing builder -
openApi
@Bean public io.swagger.v3.oas.models.OpenAPI openApi()This method return the swagger API documentation information as a container object by spring fox support classes and methods.- Returns:
- a new
springfox.documentation.spring.web.plugins.Docket
object with configurations to generate swagger 2.0 with the help of spring fox support classes and methods.
-
splitCommaSepratedString
- Parameters:
commaSepratedString
-- Returns:
- toRet
-
customize
@Bean public org.springdoc.core.customizers.OperationCustomizer customize() -
cacheClearByName
-