uaa-behind-zuul-sample | Spring AuthorizationServer load balanced behind Zuul
kandi X-RAY | uaa-behind-zuul-sample Summary
kandi X-RAY | uaa-behind-zuul-sample Summary
Quick&dirty sample to expose how to configure AuthorizationServer (UAA) behind Zuul. This way to do may not work for all kind of configuration (I do not test without JWT and prefer-token-info: true).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of uaa-behind-zuul-sample
uaa-behind-zuul-sample Key Features
uaa-behind-zuul-sample Examples and Code Snippets
Community Discussions
Trending Discussions on uaa-behind-zuul-sample
QUESTION
I'd like to have the Zuul Proxy as SSO @EnableOAuth2Sso
and as Resource Server @EnableResourceServer
at the same time.
After some research I found a lot of similar question here on stackoverflow and this lovely uaa-behind-zuul-sample project on github.
- I removed the user and password property from
application.yml
of theuaa-service
- I added more users for authentication and disabled the parentAuthenticationManager
like this
...ANSWER
Answered 2017-Jan-24 at 08:48The solution was
Exposing the AuthenticationManager from
LoginConfiguration
@Override @Bean public AuthenticationManager authenticationManagerBean() throws Exception { return super.authenticationManagerBean(); }
Injecting it in the
AuthorizationServerConfiguration
like this
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install uaa-behind-zuul-sample
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page