This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • 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
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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?





 
There's a city wid manhunt for this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!