Bug in consent?
Jan Marek
jmarek at jcu.cz
Thu Feb 1 10:19:03 UTC 2024
Hello,
I've using Shibboleth IdP v.4.3.1. I have set
idp.consent.StorageService = shibboleth.JPAStorageService
JPAStorageService is Hikari pool to the PostgreSQL DB.
When I go to page, where I have to give consent, I've got a
consent page and after set consent, I've got a error page, see
attachment (sorry, in Czech language, translation:
Web authentication service: unhandled exception.
)
In the idp-process.log, there is this log messages:
2024-01-29 15:12:12,746 - IP - ERROR [net.shibboleth.idp.consent.storage.impl.ConsentSerializer:169] - Exception while parsing consent: Internal Error
2024-01-29 15:12:12,748 - IP - ERROR [net.shibboleth.idp.consent.flow.storage.impl.ReadConsentFromStorage:66] - Profile Action ReadConsentFromStorage: Unable to read consent from storage
java.io.IOException: Found invalid data structure while parsing consent
at net.shibboleth.idp.consent.storage.impl.ConsentSerializer.deserialize(ConsentSerializer.java:170)
Caused by: javax.json.JsonException: Internal Error
at org.glassfish.json.JsonReaderImpl.read(JsonReaderImpl.java:76)
After that, IdP flow is stopped. When user try to authenticate to
the same service, his authentication is processed and everythink
is OK.
It seem's, that consent module try to load consent from database,
but although there is no record found, it try to decode in JSON
module.
Please, can you repair it (in the 4.x.y IdP too)?
Thanks a lot.
Sincerely
Jan Marek
--
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420389032080
http://www.gnu.org/philosophy/no-word-attachments.cs.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20240130_151148.png
Type: image/png
Size: 60949 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20240201/7730ba55/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20240201/7730ba55/attachment.sig>
More information about the users
mailing list