Skip to content

Commit

Permalink
Add mode field for auth rule. (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
lepdou authored and leizhiyuan committed Aug 21, 2019
1 parent 166dd1b commit aebb7ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/api/src/main/java/com/alipay/sofa/rpc/auth/AuthRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
public class AuthRule {

private String name;
private String mode;
private int enabled;

private List<AuthRuleItem> ruleItems;
Expand All @@ -42,6 +43,14 @@ public void setName(String name) {
this.name = name;
}

public String getMode() {
return mode;
}

public void setMode(String mode) {
this.mode = mode;
}

public int getEnabled() {
return enabled;
}
Expand Down

0 comments on commit aebb7ac

Please sign in to comment.