Hi,
I used cas-server-support-token 4.2.2 and i am some problem to generate
token.
The error message is : com.nimbusds.jose.JOSEException: The "A256GCM"
encryption method is not supported by the JWE encrypter
I want to customized CAS to add new LostPassword Fonctionnality by TOKEN.
the code who generate the token:
//
JwtGenerator<TestUserProfile> g = new
JwtGenerator<TestUserProfile>(keySign,keyEncry);
TestUserProfile profile = new TestUserProfile();
profile.setId(userId);
//g.setJweAlgorithm(JWEAlgorithm.parse("HmacSHA256"));
logger.info("EPA LostPasswords Servlet key de cryptage :
"+g.getEncryptionSecret()+" Key de signature : "+g.getSigningSecret());
String token = g.generate(profile);
result.put("url", URL+token);
My jdk is 1.6
If some body have solution i take it :)
Best regards
Eric Papet
--
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/33ca7f69-b584-4b62-8d37-fc889825e9e0%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.