Your jdk is 1.6. You should stop developing software on an EOLed platform.
-- Misagh On Fri, Jul 01, 2016 at 5:25 PM, Eric PAPET < [email protected]
[[email protected]] > wrote:
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] [[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/33ca7f69-b584-4b62-8d37-fc889825e9e0%40apereo.org
[https://groups.google.com/a/apereo.org/d/msgid/cas-user/33ca7f69-b584-4b62-8d37-fc889825e9e0%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/d6d02a5e-e462-4ead-9d7d-80a3c87cc63b%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.