[headless] Let websocket upgrade requests pass in AccessManager

This is because JavaScript in browsers apparently can not add Authentication
headers to websocket requests, so we use a dedicated authentication message there.

In Javalin 3, the AccessManager also handles websocket requests.
We need to let those pass to support JavaScript.
This commit is contained in:
Torsten Grote
2019-10-15 15:37:32 -03:00
parent 6f153f14c7
commit 9ebe49b85d
3 changed files with 20 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ dependencies {
implementation project(path: ':briar-core', configuration: 'default')
implementation project(path: ':bramble-java', configuration: 'default')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.40'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.40'
implementation 'io.javalin:javalin:3.5.0'
implementation 'org.slf4j:slf4j-simple:1.7.26'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.10.0'