Revert incorrect key-encoding change in SymmetricCacheService

pull/627/head
Christopher Elkins 2014-06-16 10:31:10 -07:00 committed by Justin Richer
parent 1dc204f975
commit a465559ac5
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class SymmetricCacheService {
String id = "SYMMETRIC-KEY";
JWK jwk = new OctetSequenceKey(new Base64URL(key), Use.SIGNATURE, null, id, null, null, null);
JWK jwk = new OctetSequenceKey(Base64URL.encode(key), Use.SIGNATURE, null, id, null, null, null);
Map<String, JWK> keys = ImmutableMap.of(id, jwk);
JwtSigningAndValidationService service = new DefaultJwtSigningAndValidationService(keys);