Interface RefreshPolicy

All Superinterfaces:
com.tangosol.internal.net.ssl.KeyStoreListener

public interface RefreshPolicy extends com.tangosol.internal.net.ssl.KeyStoreListener
Implemented by classes that wish to control whether an SSLContext is updated when its scheduled update check runs.
Since:
22.06
Author:
Jonathan Knight 2020.01.25
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RefreshPolicy
    A RefreshPolicy that always returns true.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldRefresh(com.oracle.coherence.common.net.SSLSocketProvider.Dependencies deps, com.tangosol.internal.net.ssl.ManagerDependencies depsIdMgr, com.tangosol.internal.net.ssl.ManagerDependencies depsTrustMgr)
    Return true if the keys and certs should be refreshed.

    Methods inherited from interface com.tangosol.internal.net.ssl.KeyStoreListener

    identityStoreLoaded, identityStoreLoaded, trustStoreLoaded, trustStoreLoaded
  • Field Details

  • Method Details

    • shouldRefresh

      boolean shouldRefresh(com.oracle.coherence.common.net.SSLSocketProvider.Dependencies deps, com.tangosol.internal.net.ssl.ManagerDependencies depsIdMgr, com.tangosol.internal.net.ssl.ManagerDependencies depsTrustMgr)
      Return true if the keys and certs should be refreshed.
      Parameters:
      deps - the socket provider dependencies
      depsIdMgr - the identity manager dependencies or null if no identity manger has been configured
      depsTrustMgr - the trust manager dependencies or null if no trust manger has been configured
      Returns:
      true if the keys and certs should be refreshed