File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/kotlin/org/exploit/keeper/filter Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,14 @@ class KeeperAuthFilter(
22
22
return
23
23
24
24
val instanceId = p0.getHeaderString(KeeperAuthenticator .HEADER_INSTANCE_ID )
25
- ?.toIntOrNull() ? : throw NotAuthorizedException (" Invalid instance id" )
25
+ ?.toIntOrNull()
26
+ ? : throw NotAuthorizedException (" Invalid instance id" )
26
27
27
28
val signature = p0.getHeaderString(KeeperAuthenticator .HEADER_SIGNATURE )
28
29
? : throw NotAuthorizedException (" Missing signature" )
29
30
30
- val timestamp = p0.getHeaderString(KeeperAuthenticator .HEADER_TIMESTAMP )?.toLongOrNull()
31
+ val timestamp = p0.getHeaderString(KeeperAuthenticator .HEADER_TIMESTAMP )
32
+ ?.toLongOrNull()
31
33
? : throw NotAuthorizedException (" Missing timestamp" )
32
34
33
35
try {
You can’t perform that action at this time.
0 commit comments