Package com.bytedesk.core.config
Class BytedeskConfig
java.lang.Object
com.bytedesk.core.config.BytedeskConfig
- Author:
- bytedesk.com on 2018/12/29
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationEventPublisher
applicationEventPublisher
(org.springframework.context.ApplicationEventPublisher publisher) org.springframework.security.authentication.AuthenticationManager
authenticationManager
(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration config) org.modelmapper.ModelMapper
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
org.springframework.web.client.RestTemplate
-
Field Details
-
appVersion
-
-
Constructor Details
-
BytedeskConfig
public BytedeskConfig()
-
-
Method Details
-
modelMapper
@Bean public org.modelmapper.ModelMapper modelMapper() -
passwordEncoder
@Bean public org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder passwordEncoder() -
applicationEventPublisher
@Bean public org.springframework.context.ApplicationEventPublisher applicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) -
authenticationManager
@Bean public org.springframework.security.authentication.AuthenticationManager authenticationManager(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration config) throws Exception - Throws:
Exception
-
restTemplate
@Bean public org.springframework.web.client.RestTemplate restTemplate() -
applicationContextHolder
-