#273 - Upgraded to Spring Boot 1.5.3.

Removed manually declared bean for Spring Security's EvaluationContextExtension.
This commit is contained in:
Oliver Gierke
2017-05-04 21:56:21 +02:00
parent 45f19a6c1d
commit dbb13f831f
2 changed files with 3 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,19 +16,10 @@
package example.springdata.jpa.security;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.data.repository.query.spi.EvaluationContextExtension;
import org.springframework.security.data.repository.query.SecurityEvaluationContextExtension;
/**
* @author Oliver Gierke
* @author Thomas Darimont
*/
@SpringBootApplication
class SecurityConfiguration {
@Bean
EvaluationContextExtension securityExtension() {
return new SecurityEvaluationContextExtension();
}
}
class SecurityConfiguration {}

View File

@@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.2.RELEASE</version>
<version>1.5.3.RELEASE</version>
</parent>
<modules>