Spring
-
Component ScanningFramework/SPRING 2020. 5. 23. 19:46
1. Overview With Spring, we use the @ComponentScan annotation along with @Configuration annotation to specify the packages that we want to be scanned. @ComponentScan without arguments tells Spring to scan the current package and all of its sub-packages. Note that the main application class is also a bean as it's annotated with @Configuration, which is a @Component. Also, note that the main appli..
-
Open Authorization(OAuth) 2.0Web/Security 2019. 8. 29. 15:05
1. Overview OAuth is an open standard protocol for authentication External service functions can be used in other applications OAuth2.0 is not compatible with 1.0, but the authentication process is simple 1.1 Difference between OAuth and Login Login is when a member of the A service uses the A service In the case of OAuth, the B service performs authentication and authentication through the meth..
-
Spring SessionFramework/SPRING 2019. 8. 27. 21:48
1. Overview Spring Session provides an API and implementations for managing a user’s session information. Spring Session has the simple goal of free up session management from the limitations of the HTTP session stored in the server. Spring Session to manage authentication information in a web app. While Spring Session can persist data using JDBC, Gemfire, or MongoDB, or in-memory Redis. 2. When..