Fix error in testcase

This commit is contained in:
Nanne Baars
2018-05-21 20:50:28 +02:00
parent 4a8fdcf887
commit e06d4642eb
3 changed files with 38 additions and 2 deletions

View File

@ -75,7 +75,6 @@ public class JWTFinalEndpoint extends AssignmentEndpoint {
final String kid = (String) header.get("kid");
try {
Connection connection = DatabaseUtilities.getConnection(webSession);
System.out.println("SELECT key FROM jwt_keys WHERE id = '" + kid + "'");
ResultSet rs = connection.createStatement().executeQuery("SELECT key FROM jwt_keys WHERE id = '" + kid + "'");
while (rs.next()) {
return TextCodec.BASE64.decode(rs.getString(1));