Commit 0ad2900c by naan1993

修改一处测试的错误

parent e685b9f6
......@@ -22,7 +22,7 @@ public class JWTTest {
String compactJws = Jwts.builder()
.setSubject("Joe")
.setClaims(new DefaultClaims().setId(IdGenerator.getId()))
.signWith(SignatureAlgorithm.RS512, key)
.signWith(SignatureAlgorithm.HS512, key)
.compact();
System.out.println(compactJws);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment