I am new to Spring Oauth2. I created two classes SecurityConfig for basic spring security configuration and AuthorizationServer for spring oauth2 authorization server configuration
What i learned from spring security in configure method of the below code is that User Named
test is assigned a role of USER.
and when
the
configure(HttpSecurity http) is configured , any url that is accessed in the code will need a basic authentication and user must provide his/her username and password to access the urls.
This is about spring security
can anyone explain that
this will call
configure(AuthenticationManagerBuilder auth)
of the SecurityConfig.java?
and what will
endpoints.authenticationManager(authenticationManager); method does from the below code?