Class KEConfiguration


  • public class KEConfiguration
    extends Object
    • 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 in OA2SE.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).
    • Constructor Detail

      • KEConfiguration

        public KEConfiguration()
    • Method Detail

      • isConfgured

        public boolean isConfgured()
        Returns true if both the cache and access token grace periods are configured.
        Returns: