Api-gateway Practice (14) New service gateway-business Scenario Verification (v) Api-gateway-engine carry valid token access Svcapp (not finished!!!!!!!!!! )
Environmental information
1, Security-filter Interception (web. xml)
2. Zuul-filter interception (web. xml)
3. Zuul servlet (web. xml)
4. Spring Dispatcherservlet (web. xml)
Preparation work 1, api-gateway-engine2 to Svcapp application Access_token
http://localhost:8080/api-gateway-engine2/index.jsp
{"Access_token": "dc125aaa-8715-4cc2-bf60-a4af57925413", "Token_type": "Bearer", "Refresh_token": " 9dfc790c-f586-4f6b-a370-2807eb277e43 "," expires_in ": 43199," scope ":" Read Write "}
Http://localhost:8080/SvcApp/oauth/token
access_token2=dc125aaa-8715-4cc2-bf60-a4af57925413
2. Api-gateway-engine Access Svcapp Address
One, request context
1. Security Configuration
2. Security Matching filter List
Ii. Request interception: Security performs identification settings and permission checks
1. Identification settings
2. Permission Check
Third, request processing
Api-gateway Practice (14) New service gateway-business Scenario Verification (v) Api-gateway-engine carry valid token access Svcapp (not finished!!!!!!!!!! )