Tag:Upper code

  • Springboot gets all URL paths


    I need to capture all URLs when I do permission control. Because I need the request type, I filter some URLs without request type. I don’t say much and code them. Configuration @Slf4j public class RolePolicyConfig { private final WebApplicationContext context; @Autowired public RolePolicyConfig(WebApplicationContext context) { this.context = context; } @PostConstruct public void methodInit() { […]