Microservice configuration

The application that is generated will not feature any frontend. Again, the invoice service is a Spring Boot-based application. The security features are configured in MicroserviceSecurityConfiguration.java.

Ignore all the frontend related requests, so whenever a user tries to reach any frontend-related resources such as HTML, CSS, and JS, the request will be ignored by the invoice service:

@Overridepublic void configure(WebSecurity web) throws Exception {    web.ignoring()        .antMatchers(HttpMethod.OPTIONS, "/**")        .antMatchers("/app/**/*.{js,html}")        .antMatchers("/bower_components/**")        .antMatchers("/i18n/**")        .antMatchers("/content/**")        .antMatchers("/swagger-ui/index.html")        .antMatchers("/test/**")        .antMatchers(

Get Full Stack Development with JHipster now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.