alibaba/Sentinel

About AuthorityRuleChecker.The PassCheck() method implementation problem

Open

#1,753 opened on Sep 23, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (8,150 forks)batch import
good first issue

Repository metrics

Stars
 (23,109 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Type: bug report

Describe what happened (or what feature you want)

This class is primarily used to determine the match of the context rules corresponding to the resource.Why do I need to repeat the validation with indexOf() and EQUALS methods?

Anything else we need to know?

com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleChecker

Contributor guide