Skip to content

Commit

Permalink
Merge branch 'spring-boot-3.0-m4' of github.com:jhipster/generator-jh…
Browse files Browse the repository at this point in the history
…ipster into spring-boot-3.0-m4
  • Loading branch information
Matt Raible committed Nov 12, 2022
2 parents 06f23ff + 198607d commit d8e79f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public class SecurityConfiguration {
@Value("${spring.security.oauth2.client.provider.oidc.issuer-uri}")
private String issuerUri;
<%_ } _%>
// private final SecurityProblemSupport problemSupport;

public SecurityConfiguration(<% if (authenticationTypeSession && !skipUserManagement) { %>RememberMeServices rememberMeServices, <% } %><% if (!applicationTypeMicroservice) { %>CorsFilter corsFilter, <% } %> JHipsterProperties jHipsterProperties) {
<%_ if (authenticationTypeSession && !skipUserManagement) { _%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ import static org.springframework.security.web.server.util.matcher.ServerWebExch
@Configuration
@EnableWebFluxSecurity
@EnableReactiveMethodSecurity
// @Import(SecurityProblemSupport.class)
public class SecurityConfiguration {

private final JHipsterProperties jHipsterProperties;
Expand All @@ -164,7 +163,6 @@ public class SecurityConfiguration {

<%_ } _%>
<%_ } _%>
// private final SecurityProblemSupport problemSupport;
private final CorsWebFilter corsWebFilter;

public SecurityConfiguration(
Expand All @@ -178,7 +176,6 @@ public class SecurityConfiguration {
this.clientRegistrationRepository = clientRegistrationRepository;
<%_ } _%>
this.jHipsterProperties = jHipsterProperties;
// this.problemSupport = problemSupport;
this.corsWebFilter = corsWebFilter;
}

Expand Down Expand Up @@ -234,9 +231,6 @@ public class SecurityConfiguration {
<%_ if (!skipClient) { _%>
.addFilterAfter(new SpaWebFilter(), SecurityWebFiltersOrder.HTTPS_REDIRECT)
<%_ } _%>
// .exceptionHandling()
// .accessDeniedHandler(problemSupport)
// .authenticationEntryPoint(problemSupport)
<%_ if (authenticationTypeSession) { _%>
.formLogin()
.requiresAuthenticationMatcher(pathMatchers(HttpMethod.POST, "/api/authentication"))
Expand Down

0 comments on commit d8e79f7

Please sign in to comment.