All the same. 7 is EOL too. You need 8 and it's JCE.

-- Misagh On Fri, Jul 01, 2016 at 7:55 PM, Eric PAPET < [email protected] 
[[email protected]] > wrote:
Sorry my jdk is 1.7

Le vendredi 1 juillet 2016 16:25:22 UTC+2, Eric PAPET a écrit : 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 
[http://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] [[email protected]] .
To post to this group, send email to [email protected] [[email protected]] .
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ 
[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/b736e0e9-33aa-4f72-a983-03842452721b%40apereo.org
 
[https://groups.google.com/a/apereo.org/d/msgid/cas-user/b736e0e9-33aa-4f72-a983-03842452721b%40apereo.org?utm_medium=email&utm_source=footer]
 .
For more options, visit https://groups.google.com/a/apereo.org/d/optout 
[https://groups.google.com/a/apereo.org/d/optout] .

-- 
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/8e1a6c0f-223e-42d5-ad6a-bcb041ce7b8f%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to