We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4feb2 commit 4a844e3Copy full SHA for 4a844e3
configuration-demo/README.md
@@ -11,7 +11,7 @@ public class SecureConfig {
11
@Bean
12
public SecureRuleRegistry secureRuleRegistry() {
13
return new SecureRuleRegistry()
14
- .addRule("/login", HttpMethod.GET, "anon()")
+ .exclude("/login")
15
.addRule("/me", HttpMethod.GET,"hasLogin()")
16
.addRule("/**", HttpMethod.ANY, "@test.hasPermission(#request,#response)");
17
}
0 commit comments