Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问webApp密码是多少 #28

Open
xiaohong321 opened this issue May 13, 2019 · 3 comments
Open

请问webApp密码是多少 #28

xiaohong321 opened this issue May 13, 2019 · 3 comments

Comments

@xiaohong321
Copy link

请问webApp密码是多少

@yangxiufeng666
Copy link
Owner

123456

@xiaohong321
Copy link
Author

谢谢, 可以问一下这个权限控制流程。
先请求token,然后携带token请求网关,网关请求对token进行验证,再授权服务器验证请求合法性,再到资源服务器吗

@yangxiufeng666
Copy link
Owner

注意看网关有如下配置:
security:
oauth2:
resource:
user-info-uri: http://uaa/user
prefer-token-info: false
loadBalanced: true
即用token到认证服务器去获取用户并对token进行验证,通过则返回用户信息和拥有的权限,网关的PermissionServiceImpl再对用户权限进行拦截,拥有则通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants