Package com.tangosol.net.ssl
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
Modifier and TypeFieldDescriptionstatic final RefreshPolicy
ARefreshPolicy
that always returnstrue
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldRefresh
(com.oracle.coherence.common.net.SSLSocketProvider.Dependencies deps, com.tangosol.internal.net.ssl.ManagerDependencies depsIdMgr, com.tangosol.internal.net.ssl.ManagerDependencies depsTrustMgr) Returntrue
if the keys and certs should be refreshed.Methods inherited from interface com.tangosol.internal.net.ssl.KeyStoreListener
identityStoreLoaded, identityStoreLoaded, trustStoreLoaded, trustStoreLoaded
-
Field Details
-
Always
ARefreshPolicy
that always returnstrue
.
-
-
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) Returntrue
if the keys and certs should be refreshed.- Parameters:
deps
- thesocket provider dependencies
depsIdMgr
- theidentity manager dependencies
ornull
if no identity manger has been configureddepsTrustMgr
- thetrust manager dependencies
ornull
if no trust manger has been configured- Returns:
true
if the keys and certs should be refreshed
-