mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-24 18:04:58 +08:00
Remove reactive security starter
This commit is contained in:
parent
615c79b7f4
commit
5677cd0cb9
@ -53,8 +53,7 @@ class SpringSecurityTestRequestPostProcessor implements ProjectRequestPostProces
|
||||
|
||||
private boolean hasSpringSecurity(ProjectRequest request) {
|
||||
return request.getResolvedDependencies().stream()
|
||||
.anyMatch(d -> "security".equals(d.getId())
|
||||
|| "security-reactive".equals(d.getId()));
|
||||
.anyMatch(d -> "security".equals(d.getId()));
|
||||
}
|
||||
|
||||
private boolean isAtLeastAfter(ProjectRequest request, Version version) {
|
||||
|
@ -120,11 +120,6 @@ initializr:
|
||||
description: Authenticating a User with LDAP
|
||||
- rel: reference
|
||||
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
|
||||
id: aop
|
||||
description: Create your own Aspects using Spring AOP and AspectJ
|
||||
|
@ -38,17 +38,6 @@ public class SpringSecurityTestRequestPostProcessorTests
|
||||
.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
|
||||
public void securityTestIsNotAddedBefore13() {
|
||||
ProjectRequest request = createProjectRequest("security");
|
||||
|
Loading…
Reference in New Issue
Block a user