• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Spring Oauth2 AuthorizationServer

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?





 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!