Hi, all.
Anyone can help me. What's wrong with it?
在2023年7月25日星期二 UTC+8 17:15:02<Char Lin> 写道:
> Hi, all.
>
> I used the delegation identity provider whit github, it run ok, and
> authorized my account in cas success.
>
> But the console log occured a problem as below(tikets registry into redis)
>
> 2023-07-25 16:30:00,815 ERROR
> [org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer] -
> <Cannot read/parse
> [{"@class":"org.apereo.cas.ticket.TicketGrantingTicketImpl","@id":1,"id":"TGT-6-********6aWWgwVDXEIgNLDA-nKZLV...]
>
> to deserialize into type [class
> org.apereo.cas.ticket.TicketGrantingTicketImpl]. This may be caused in the
> absence of a configuration/support module that knows how to interpret the
> fragment, specially if the fragment describes a CAS registered service
> definition. Internal parsing error is [Cannot construct instance of
> `org.pac4j.oauth.credentials.OAuth20Credentials` (although at least one
> Creator exists): cannot deserialize from Object value (no delegate- or
> property-based Creator)
> at [Source:
> (String)"{"@class":"org.apereo.cas.ticket.TicketGrantingTicketImpl","@id":1,"id":"TGT-6-********VYDOR5I-**********","authentication":{"@class":"org.apereo.cas.authentication.DefaultAuthentication","authenticationDate":"2023-07-25T08:08:41.9521423Z","principal":{"@class":"org.apereo.cas.authentication.principal.SimplePrincipal","id":"45256041","attributes":{"@class":"java.util.TreeMap","access_token":["java.util.ArrayList",["gho_NbLBAlw6hR4Ypakf0C"[truncated
>
> 9007 chars]; line: 1, column: 2408] (through reference chain:
> org.apereo.cas.ticket.TicketGrantingTicketImpl["authentication"]->org.apereo.cas.authentication.DefaultAuthentication["credentials"]->java.util.ArrayList[0]->org.apereo.cas.authentication.principal.ClientCredential["credentials"])]>
> 2023-07-25 16:30:00,815 ERROR
> [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] -
> <InvalidTicketException
> DefaultTicketStringSerializationManager.java:deserializeTicket:60
> DefaultTicketStringSerializationManager.java:lambda$deserializeTicket$1:49
> Unchecked.java:lambda$supplier$38:1695
> >
>
> How to fix it , although it doesn't seem to have much impact so far.
>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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 view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/91742dd4-4530-4d01-b13a-8d88becc5e5cn%40apereo.org.