Acho muito interessante esse design patterns, mas não identifiquei qual é. Ele é do Spring boot.
http.csrf().disable()
.cors().configurationSource(request -> new CorsConfiguration().applyPermitDefaultValues())
.and()
.sessionManagement().sessionCreationPolicy(STATELESS)
.and()
.exceptionHandling().authenticationEntryPoint((req, resp, e) -> resp.sendError(HttpServletResponse.SC_UNAUTHORIZED))
.and()
.authorizeRequests()
.antMatchers(jwtConfiguration.getLoginUrl()).permitAll()
//.antMatchers(HttpMethod.GET, "/**/swagger-resources/**", "/**/webjars/springfox-swagger-ui/**", "/**/v2/api-docs/**").permitAll()
.antMatchers("/semparar/v1/admin/**").hasRole("ADMIN")
.antMatchers("/auth/user/**").hasAnyRole("ADMIN", "USER")
.anyRequest().authenticated();