Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
379 B
4
Indexable
.authorizeHttpRequests(
                        authorize -> authorize
                                .requestMatchers("/error").permitAll()
                                .requestMatchers("/admin/**").hasAuthority(AuthorityName.ADMIN.name())
                                .requestMatchers("/deny/**").denyAll()
                                .anyRequest().authenticated());