From dbb13f831f218f3b34383151e9285554810cad99 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 4 May 2017 21:56:21 +0200 Subject: [PATCH] #273 - Upgraded to Spring Boot 1.5.3. Removed manually declared bean for Spring Security's EvaluationContextExtension. --- .../jpa/security/SecurityConfiguration.java | 13 ++----------- pom.xml | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/jpa/security/src/main/java/example/springdata/jpa/security/SecurityConfiguration.java b/jpa/security/src/main/java/example/springdata/jpa/security/SecurityConfiguration.java index c3156e48..d2546b22 100644 --- a/jpa/security/src/main/java/example/springdata/jpa/security/SecurityConfiguration.java +++ b/jpa/security/src/main/java/example/springdata/jpa/security/SecurityConfiguration.java @@ -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 {} diff --git a/pom.xml b/pom.xml index ee29ad2d..2d00a0a5 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ org.springframework.boot spring-boot-starter-parent - 1.5.2.RELEASE + 1.5.3.RELEASE