File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed
src/main/java/nl/_42/restsecure/autoconfigure Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 1
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip
2
- wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+ wrapperVersion =3.3.2
18
+ distributionType =only-script
19
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://github.com/42BV/rest-secure-spring-boot-starter/workflows/Java%20CI%20with%20Maven /badge.svg )] ( https://github.com/42BV/rest-secure-spring-boot-starter/actions?query=workflow%3A%22Java+CI+with+Maven%22 )
2
- [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/fc6f224a2c0e40a893521b320637ad3e )] ( https://www .codacy.com/gh/42BV/rest-secure-spring-boot-starter/dashboard?utm_source=github.com & amp ; utm_medium=referral & amp ; utm_content=42BV/rest-secure-spring-boot-starter & amp ; utm_campaign=Badge_Grade )
1
+ [ ![ Build Status] ( https://github.com/42BV/rest-secure-spring-boot-starter/actions/ workflows/maven.yml /badge.svg )] ( https://github.com/42BV/rest-secure-spring-boot-starter/actions?query=workflow%3A%22Java+CI+with+Maven%22 )
2
+ [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/fc6f224a2c0e40a893521b320637ad3e )] ( https://app .codacy.com/gh/42BV/rest-secure-spring-boot-starter/dashboard )
3
3
[ ![ codecov] ( https://codecov.io/gh/42BV/rest-secure-spring-boot-starter/branch/master/graph/badge.svg )] ( https://codecov.io/gh/42BV/rest-secure-spring-boot-starter )
4
4
[ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/nl.42/rest-secure-spring-boot-starter/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/nl.42/rest-secure-spring-boot-starter )
5
5
[ ![ Javadoc] ( https://www.javadoc.io/badge/nl.42/rest-secure-spring-boot-starter.svg )] ( https://www.javadoc.io/doc/nl.42/rest-secure-spring-boot-starter )
Original file line number Diff line number Diff line change @@ -242,11 +242,11 @@ private AuthorizeHttpRequestsConfigurer<HttpSecurity>.AuthorizationManagerReques
242
242
private HttpSecurity customize (HttpSecurity http ) throws Exception {
243
243
if (httpCustomizer != null ) {
244
244
log .info ("Found HttpSecurityCustomizer bean in ApplicationContext, custom configuring of HttpSecurity object started." );
245
- http = httpCustomizer .customize (http );
245
+ return httpCustomizer .customize (http );
246
246
} else {
247
247
log .info ("No HttpSecurityCustomizer bean found in ApplicationContext, no custom configuring of HttpSecurity object." );
248
+ return http ;
248
249
}
249
- return http ;
250
250
}
251
251
252
252
private CsrfTokenRepository csrfTokenRepository () {
You can’t perform that action at this time.
0 commit comments