[Code] Cannot sign using IBM JVM
Alexis Castilla
acastilla at viavansi.com
Tue Sep 8 11:57:42 UTC 2009
Hi all, when i try to use authenticate method from my
ConsumerManager using a IBM JVM i get the next exception.
Someone know something about that??
Thx for all and sorry about my poor english.
IBM JVM Version = 5.0-9.0
OpenID4Java = 0.9.5
2009-09-03 11:28:29 ERROR
org.openid4java.consumer.ConsumerManager.insertConsumerNonce(1393) -
Error inserting consumre nonce.
org.openid4java.association.AssociationException: 0x200: Cannot sign!
at
org.openid4java.association.Association.sign(Association.java:255)
at
org.openid4java.association.Association.sign(Association.java:265)
at org.openid4java.consumer.ConsumerManager.insertConsumerNonce
(ConsumerManager.java:1383)
at org.openid4java.consumer.ConsumerManager.authenticate
(ConsumerManager.java:1071)
at org.openid4java.consumer.ConsumerManager.authenticate
(ConsumerManager.java:1000)
...
Caused by:
java.security.NoSuchAlgorithmException: Algorithm HmacSHA2 not
available
at javax.crypto.Mac.getInstance(Unknown Source)
at
org.openid4java.association.Association.sign(Association.java:247)
... 30 more
--
------------------------------------------------------------------------
*Alexis Castilla Armero*
Departamento de Desarrollo
acastilla at viavansi.com <mailto:acastilla at viavansi.com>
T. (+34) 954 155 244 ext 108 - F. (+34) 617 122 923
VIAVANSI^® - www.viavansi.com <http://www.viavansi.com>
Xnoccio^® - www.xnoccio.com <http://www.xnoccio.com>
Logo Viavansi con sellos de calidad <http://www.viavansi.com/>
ATENCIÓN: El Medio Ambiente es cosa de todos. Antes de imprimir este
documento, verifique si es absolutamente imprescindible hacerlo.
AVISO DE CONFIDENCIALIDAD. Este mensaje se dirige exclusivamente a su
destinatario y puede contener información privilegiada o CONFIDENCIAL.
Si no es Vd. el destinatario indicado, queda notificado de que la
utilización, divulgación y/o copia sin autorización está prohibida en
virtud de la legislación vigente. Si ha recibido este mensaje por error,
le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.
CONFIDENTIALITY WARNING. This message is intended exclusively for its
addressee and may contain information that is CONFIDENTIAL and protected
by professional privilege. If you are not the intended recipient you are
hereby notified that any dissemination, copy or disclosure of this
communication is strictly prohibited by law. If this message has been
received in error, please immediately notify us via e-mail and delete it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-code/attachments/20090908/7d332e05/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viavansi_calidad.gif
Type: image/gif
Size: 2627 bytes
Desc: not available
URL: <http://lists.openid.net/pipermail/openid-code/attachments/20090908/7d332e05/attachment.gif>
More information about the Code
mailing list