Configuration and Administration

glog.util Properties

To control the behavior of Oracle Transportation Management, you can change settings in the glog.properties file or the appropriate property set.

Property

New In Version

Definition

glog.util.auth.oauth2.enableExpirationBuffer

23C

Outbound REST API calls that use OAuth for authorization and authentication can perform a "pre-use" check on access tokens to discard tokens which are about to expire. This is designed to workaround some variability on response protocols for "expired token" messages from protected resources. The capability is enabled by default and can be disabled by setting this property to false.

glog.util.auth.oauth2.expirationBuffer 23C

There is a time buffer value that is subtracted from the expected token expiration time when performing a check. For example, if this time buffer is 10 seconds, then if an access token is due to expire within the ten seconds of the token's expiration time, then this token will be discarded and a new token obtained. The default value for the time buffer is 10 seconds. A custom value can be set by changing this property.  It takes the following values:

  • glog.util.auth.oauth2.expirationBuffer = (an integer number of seconds | duration according to ISO-8601)

For example, the following are both equivalent to a time buffer of 10 
seconds:

  • glog.util.auth.oauth2.expirationBuffer=10
  • glog.util.auth.oauth2.expirationBuffer=PT10S

Related Topics