You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Kalinin (JIRA)" <ji...@apache.org> on 2019/01/25 20:38:00 UTC
[jira] [Assigned] (IGNITE-11086) IGNITE_REST_SECURITY_TOKEN_TIMEOUT
parameter is set in deciseconds instead of seconds.
[ https://issues.apache.org/jira/browse/IGNITE-11086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Kalinin reassigned IGNITE-11086:
---------------------------------------
Assignee: Andrey Kalinin
> IGNITE_REST_SECURITY_TOKEN_TIMEOUT parameter is set in deciseconds instead of seconds.
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-11086
> URL: https://issues.apache.org/jira/browse/IGNITE-11086
> Project: Ignite
> Issue Type: Bug
> Components: rest
> Affects Versions: 2.7
> Reporter: Vitaliy Biryukov
> Assignee: Andrey Kalinin
> Priority: Major
> Labels: newbie
>
> According to javaDoc IGNITE_REST_SECURITY_TOKEN_TIMEOUT should be set in seconds.
> Can be fixed by multiplying this parameter by 1000 instead of 100 in GridRestProcessor's constructor:
> {code:java}
> sesTokTtl = IgniteSystemProperties.getLong(IGNITE_REST_SECURITY_TOKEN_TIMEOUT, DFLT_SES_TOKEN_INVALIDATE_INTERVAL) * 100;
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)