Api-gateway Practice (14) New service gateway-business Scenario Verification (v) Api-gateway-engine carry valid token access Svcapp (not finished!!!!!!!!!! )

Source: Internet
Author: User

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!!!!!!!!!! )

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.