Untitled
unknown
plain_text
2 years ago
379 B
10
Indexable
.authorizeHttpRequests(
authorize -> authorize
.requestMatchers("/error").permitAll()
.requestMatchers("/admin/**").hasAuthority(AuthorityName.ADMIN.name())
.requestMatchers("/deny/**").denyAll()
.anyRequest().authenticated());Editor is loading...