varpa89 commented on PR #12197:
URL: https://github.com/apache/iceberg/pull/12197#issuecomment-2677777331

   Hello! Could you please clarify the behaviour in the following case:
   Trino JDBC driver has an option 
[extraCredentials](https://trino.io/docs/current/client/jdbc.html#:~:text=to%20false.-,extraCredentials,-Extra%20credentials%20for)
   and passes it down to the connector. In our case the connector is 
RestSessionCatalog. When RestSessionCatalog creates a new session it uses 
`AuthSession.fromAccessToken` method and puts it to the cache (1 hour timeout)
   
   And the problem is that the token lifetime that we send via 
`extraCredentials` option can be shorter that this period (1 hour). Shouldn't 
we have a different behaviour with caching in such case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to