# SecurityTokenIdleTime

The time after which the SecurityInfo strings that IDOL Community Component generates as part of a secure query expire, unless they are refreshed. You can set SecurityTokenRefreshInterval to determine when to refresh the token.

If you enable token refreshing, you can set SecurityTokenLifetime to the total lifetime of the token (that is, you cannot refresh the token after this amount of time has elapsed, even if the current token is within the `SecurityTokenIdleTime`).

By default, `SecurityTokenIdleTime` is set to zero (disabled), and IDOL Community Component uses only the SecurityTokenLifetime to determine when to expire a token. When you set `SecurityTokenIdleTime`, the default value of SecurityTokenLifetime increases to `12hours`.

NOTE: You must set `SecurityTokenIdleTime` to a value less than the value of SecurityTokenLifetime to enable token refreshing.

If you set `SecurityTokenIdleTime` to be larger than SecurityTokenLifetime, the default of SecurityTokenLifetime increases to `12hours`, but the token expires before it refreshes.

Specify an interval in the following format:

    NumberTimeUnit

where,

`Number` | is the number of time units to elapse.
`TimeUnit` | is the time unit to apply. The following units are available: `second` `seconds` `minute` `minutes` `hour` `hours` `day` `days` `week` `weeks` `month` `months` `year`

NOTE: If you do not specify a `TimeUnit`, IDOL Community Component reads the specified number as seconds.

NOTE: The times used in the SecurityInfo strings are in Universal Coordinate Time (UTC or GMT) rather than local time.

Type: | Long
Default: | 0
Allowed Range: | Minimum: 0 Maximum: 1year
Recommended Range: | Minimum: 60seconds Maximum: value of SecurityTokenLifetime
Required: | No
Configuration Section: | Security
Example: | `SecurityTokenIdletime=30minutes`
See Also: |

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm