You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/05/01 14:49:00 UTC

[jira] [Commented] (KNOX-3060) Knox Homepage token management does not work when Cookie Management is enabled

    [ https://issues.apache.org/jira/browse/KNOX-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948672#comment-17948672 ] 

ASF subversion and git services commented on KNOX-3060:
-------------------------------------------------------

Commit 2cdf9e2fc2fd333d8acbe34496bea698f6f3f32e in knox's branch refs/heads/master from Sandeep Moré
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=2cdf9e2fc ]

KNOX-3060 - Fix an issue with JsonUtilsTest.testRenderAsJsonStringWithDateFormat which can fail due to clock skew (#1036)



> Knox Homepage token management does not work when Cookie Management is enabled
> ------------------------------------------------------------------------------
>
>                 Key: KNOX-3060
>                 URL: https://issues.apache.org/jira/browse/KNOX-3060
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Following is the error
> {code:java}
> ERROR knox.gateway (JsonUtils.java:renderAsJsonString(46)) - Failed to serialize map to Json string {tokens=[org.apache.knox.gateway.services.security.token.KnoxToken@131fb849]}: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.Instant` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: java.util.Collections$SingletonMap["tokens"]->java.util.TreeSet[0]->org.apache.knox.gateway.services.security.token.KnoxToken["metadata"]->org.apache.knox.gateway.services.security.token.TokenMetadata["lastUsedAt"])  
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)