Created
March 19, 2020 20:37
-
-
Save thinkmicroservices/59a90eb2f7e5d70efaead8458787041b to your computer and use it in GitHub Desktop.
AuthenticationService: @Autowired fields .java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The discovery client provides access | |
* to the <b>ServiceDiscovery</b> service. | |
*/ | |
@Autowired | |
private DiscoveryClient discoveryClient; | |
/** | |
* Provides access to <b>User</b> entities. | |
*/ | |
@Autowired | |
private UserRepository userRepository; | |
/** | |
* Provides access to <b>Role</b> entities. | |
*/ | |
@Autowired | |
private RoleRepository roleRepository; | |
/** | |
* Responsible for the generation of JSON Web tokens <b>JWT</b> | |
*/ | |
@Autowired | |
private JWTProvider jwtProvider; | |
/** | |
* Provides encryption support for passwords | |
*/ | |
@Autowired | |
private PasswordEncoder bcryptEncoder; | |
/** | |
* Provides an email client that sends email messages through | |
* the <b>NotificationService</b>. | |
*/ | |
@Autowired | |
private EmailClient emailClientService; | |
/** | |
* Provides a message channel for sending <b>Account Events</b> to the | |
* applications message broker. | |
*/ | |
@Autowired | |
private AccountEventSource accountEventSource; | |
/** | |
* Provides various string validation methods | |
*/ | |
@Autowired | |
private Validator validator; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment