Remove reactive security starter

This commit is contained in:
Stephane Nicoll
2017-11-07 09:07:17 +01:00
parent 615c79b7f4
commit 5677cd0cb9
3 changed files with 1 additions and 18 deletions

View File

@@ -53,8 +53,7 @@ class SpringSecurityTestRequestPostProcessor implements ProjectRequestPostProces
private boolean hasSpringSecurity(ProjectRequest request) { private boolean hasSpringSecurity(ProjectRequest request) {
return request.getResolvedDependencies().stream() return request.getResolvedDependencies().stream()
.anyMatch(d -> "security".equals(d.getId()) .anyMatch(d -> "security".equals(d.getId()));
|| "security-reactive".equals(d.getId()));
} }
private boolean isAtLeastAfter(ProjectRequest request, Version version) { private boolean isAtLeastAfter(ProjectRequest request, Version version) {

View File

@@ -120,11 +120,6 @@ initializr:
description: Authenticating a User with LDAP description: Authenticating a User with LDAP
- rel: reference - rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-security href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-security
- name: Reactive Security
id: security-reactive
description: Secure your reactive application via spring-security-webflux
versionRange: "[2.0.0.M5,2.0.0.M6)"
weight: 90
- name: Aspects - name: Aspects
id: aop id: aop
description: Create your own Aspects using Spring AOP and AspectJ description: Create your own Aspects using Spring AOP and AspectJ

View File

@@ -38,17 +38,6 @@ public class SpringSecurityTestRequestPostProcessorTests
.hasDependenciesCount(3); .hasDependenciesCount(3);
} }
@Test
public void securityTestIsAddedWithSecurityReactive() {
ProjectRequest request = createProjectRequest("security-reactive");
request.setBootVersion("2.0.0.M5");
generateMavenPom(request)
.hasSpringBootStarterDependency("security-reactive")
.hasSpringBootStarterTest()
.hasDependency(springSecurityTest())
.hasDependenciesCount(3);
}
@Test @Test
public void securityTestIsNotAddedBefore13() { public void securityTestIsNotAddedBefore13() {
ProjectRequest request = createProjectRequest("security"); ProjectRequest request = createProjectRequest("security");