Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
02b0b6ff
Commit
02b0b6ff
authored
Apr 13, 2018
by
Brian Clozel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
33c7401e
29a719df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+1
-1
UndertowServletWebServerFactoryTests.java
...bedded/undertow/UndertowServletWebServerFactoryTests.java
+3
-2
AbstractReactiveWebServerFactoryTests.java
...eactive/server/AbstractReactiveWebServerFactoryTests.java
+2
-9
No files found.
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
02b0b6ff
...
...
@@ -175,7 +175,7 @@
<thymeleaf-extras-java8time.version>
3.0.1.RELEASE
</thymeleaf-extras-java8time.version>
<tomcat.version>
8.5.29
</tomcat.version>
<unboundid-ldapsdk.version>
4.0.5
</unboundid-ldapsdk.version>
<undertow.version>
1.4.2
3
.Final
</undertow.version>
<undertow.version>
1.4.2
4
.Final
</undertow.version>
<webjars-hal-browser.version>
3325375
</webjars-hal-browser.version>
<webjars-locator-core.version>
0.35
</webjars-locator-core.version>
<wsdl4j.version>
1.6.3
</wsdl4j.version>
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java
View file @
02b0b6ff
...
...
@@ -28,6 +28,7 @@ import java.util.Map;
import
java.util.Set
;
import
java.util.concurrent.atomic.AtomicReference
;
import
javax.net.ssl.SSLException
;
import
javax.net.ssl.SSLHandshakeException
;
import
io.undertow.Undertow.Builder
;
...
...
@@ -213,7 +214,7 @@ public class UndertowServletWebServerFactoryTests
new
String
[]
{
"TLS_EMPTY_RENEGOTIATION_INFO_SCSV"
});
}
@Test
(
expected
=
SSL
Handshake
Exception
.
class
)
@Test
(
expected
=
SSLException
.
class
)
public
void
sslRestrictedProtocolsECDHETLS1Failure
()
throws
Exception
{
testRestrictedSSLProtocolsAndCipherSuites
(
new
String
[]
{
"TLSv1"
},
new
String
[]
{
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
});
...
...
@@ -231,7 +232,7 @@ public class UndertowServletWebServerFactoryTests
new
String
[]
{
"TLS_RSA_WITH_AES_128_CBC_SHA256"
});
}
@Test
(
expected
=
SSL
Handshake
Exception
.
class
)
@Test
(
expected
=
SSLException
.
class
)
public
void
sslRestrictedProtocolsRSATLS11Failure
()
throws
Exception
{
testRestrictedSSLProtocolsAndCipherSuites
(
new
String
[]
{
"TLSv1.1"
},
new
String
[]
{
"TLS_RSA_WITH_AES_128_CBC_SHA256"
});
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/server/AbstractReactiveWebServerFactoryTests.java
View file @
02b0b6ff
...
...
@@ -34,7 +34,6 @@ import io.netty.handler.codec.http.HttpHeaderNames;
import
io.netty.handler.codec.http.HttpResponse
;
import
io.netty.handler.ssl.SslProvider
;
import
io.netty.handler.ssl.util.InsecureTrustManagerFactory
;
import
org.assertj.core.api.Assumptions
;
import
org.junit.After
;
import
org.junit.Rule
;
import
org.junit.Test
;
...
...
@@ -45,7 +44,6 @@ import reactor.ipc.netty.http.client.HttpClientOptions;
import
reactor.test.StepVerifier
;
import
org.springframework.boot.testsupport.rule.OutputCapture
;
import
org.springframework.boot.web.embedded.undertow.UndertowReactiveWebServerFactory
;
import
org.springframework.boot.web.server.Compression
;
import
org.springframework.boot.web.server.Ssl
;
import
org.springframework.boot.web.server.WebServer
;
...
...
@@ -154,8 +152,7 @@ public abstract class AbstractReactiveWebServerFactoryTests {
}
@Test
public
void
sslWantsClientAuthenticationSucceedsWithoutClientCertificate
()
throws
Exception
{
public
void
sslWantsClientAuthenticationSucceedsWithoutClientCertificate
()
{
Ssl
ssl
=
new
Ssl
();
ssl
.
setClientAuth
(
Ssl
.
ClientAuth
.
WANT
);
ssl
.
setKeyStore
(
"classpath:test.jks"
);
...
...
@@ -205,11 +202,7 @@ public abstract class AbstractReactiveWebServerFactoryTests {
}
@Test
public
void
sslNeedsClientAuthenticationFailsWithoutClientCertificate
()
throws
Exception
{
// Ignored for Undertow, see https://github.com/reactor/reactor-netty/issues/257
Assumptions
.
assumeThat
(
getFactory
())
.
isNotInstanceOf
(
UndertowReactiveWebServerFactory
.
class
);
public
void
sslNeedsClientAuthenticationFailsWithoutClientCertificate
()
{
Ssl
ssl
=
new
Ssl
();
ssl
.
setClientAuth
(
Ssl
.
ClientAuth
.
NEED
);
ssl
.
setKeyStore
(
"classpath:test.jks"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment