dashboard #6

Merged
v4l3n71n merged 27 commits from dashboard into master 2022-08-25 21:30:04 +00:00
Showing only changes of commit bf627b304b - Show all commits

View File

@ -70,12 +70,10 @@ public class TokenRessource {
return Response.status(Response.Status.CREATED).cookie(new NewCookie(new Cookie("jwt", newJwtCookie), "Token JWT", 60, false), new NewCookie(new Cookie("user", nameEncoded), "Username", 60, false)).build();
}
// All mp.jwt and smallrye.jwt properties are still effective, only the verification key is customized.
LOGGER.info(jwtCookie);
try {
jwt = parser.parse(jwtCookie);
}
catch(ParseException p){
LOGGER.info(p);
return Response.status(Response.Status.NOT_ACCEPTABLE).build();
}
// or jwt = parser.decrypt(jwtCookie, secret);