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 anSSLContext
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 RefreshPolicy
Always
ARefreshPolicy
that always returnstrue
.
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
Returntrue
if the keys and certs should be refreshed.
-
-
-
Field Detail
-
Always
static final RefreshPolicy Always
ARefreshPolicy
that always returnstrue
.
-
-
Method Detail
-
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
-
-