Class KEConfiguration
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.storage.keys.KEConfiguration
-
public class KEConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanallowOverrideUse by VIs.longatGracePeriodThe access token grace period.longcacheGracePeriodThe cache grace period.booleanenabledHas the user enabled or disabled this explicitly?booleanisInConfigFileIs this configuration in the system configuration file?
-
Constructor Summary
Constructors Constructor Description KEConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConfgured()Returns true if both the cache and access token grace periods are configured.StringtoString()
-
-
-
Field Detail
-
cacheGracePeriod
public long cacheGracePeriod
The cache grace period. This set for the VI based on their system's cache policy.
-
atGracePeriod
public long atGracePeriod
The access token grace period. This is set for the VI using their access token lifetime.
-
enabled
public boolean enabled
Has the user enabled or disabled this explicitly?
-
allowOverride
public boolean allowOverride
Use by VIs. If the current configuration should inherit from the system/default configuration. if a value is set to (@link OA2CFConfigurationLoader#GRACE_PERIOD_NOT_CONFIGURED}, then the server value is used.
-
isInConfigFile
public boolean isInConfigFile
Is this configuration in the system configuration file? At most one KE configuration can have this true. There is always a configuraation inOA2SE.getKeConfiguration()and if that was specified by the user, this will be true. This lets you see if you are working with a system supplied configuration (false) or not (true).
-
-