Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11086

IGNITE_REST_SECURITY_TOKEN_TIMEOUT parameter is set in deciseconds instead of seconds.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: rest
    • Labels:

      Description

      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:

      sesTokTtl = IgniteSystemProperties.getLong(IGNITE_REST_SECURITY_TOKEN_TIMEOUT, DFLT_SES_TOKEN_INVALIDATE_INTERVAL) * 100;
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                6uest Andrey Kalinin
                Reporter:
                VitaliyB Vitaliy Biryukov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m