Untitled

Anonymous
plain_text
10/20/2023 11:35 PM
508 B
20
Indexable
.authorizeHttpRequests(
                        authorize -> authorize
                                .requestMatchers("/error").permitAll()
                                .requestMatchers("/admin/**").hasAuthority(AuthorityName.ADMIN.name())
                                .requestMatchers("/deny/**").denyAll()
                                .anyRequest().authenticated());
Editor is loading...