Re: UAA: How to set client_credentials token grant type to not expire
Filip Hanik
public static final intMAX_VALUE
toggle quoted message
Show quoted text
<http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#MAX_VALUE> 2147483647 that's the largest value you can set. However, I just realized, that if you set this value, the UAA will get an overflow and the int will become negative. so set the value to 315 569 260 that's a 10 year expiration. the computer that retrieved that token won't be around in 10 years so it's a safe number. On Friday, July 24, 2015, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:
Thanks Filip. |
|