Lieutenant Commander Lieutenant Commander
Lieutenant Commander
9131 views

maximum value for property maxDaysToLive

Jump to solution

Currently  in WEB-INF/internal/serviceContext.xml we have upload token expiration is set to  90 days. <property name="maxDaysToLive" value="90"/>  What is the maximum value that we can set maxDaysToLive to? Do we need to re-set tokens on our existing jobs or changes will effect all (existing and new)?

0 Likes
1 Solution

Accepted Solutions
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi Helen,

there is no maximum value that I know of, I have seen maxDaysToLive set to the equivalent of 10 years for certain tokens. You will need to restart SSC after changing serviceContext.xml. Then regenerate the token with fortifyclient using the "-daysToLive" option.

Regards,
Dawid

View solution in original post

0 Likes
2 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi Helen,

there is no maximum value that I know of, I have seen maxDaysToLive set to the equivalent of 10 years for certain tokens. You will need to restart SSC after changing serviceContext.xml. Then regenerate the token with fortifyclient using the "-daysToLive" option.

Regards,
Dawid

View solution in original post

0 Likes
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Thank you, Dawid. We made change and it worked just fine.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.