ClientIdentityProvider that watches a given key file re-loading its contents if it is ever modified,
deleted or (re-)created
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final ClientIdentityLoaderHolder | |
| private final FilePasswordProviderHolder | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ClientIdentityFileWatcher(Path path, ClientIdentityLoader loader, FilePasswordProvider provider, boolean strict)
|
| public | ClientIdentityFileWatcher(Path path, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider)
|
| public | ClientIdentityFileWatcher(Path path, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider, boolean strict)
|
| Modifier and Type | Method and Description |
|---|---|
| public Iterable | getClientIdentities(SessionContext
The session)SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool).Implements org. Provides a |
| public ClientIdentityLoader | |
| public FilePasswordProvider | |
| public boolean | |
| protected Iterable |
| identitiesHolder | back to summary |
|---|---|
| private final AtomicReference<Iterable<KeyPair>> identitiesHolder | |
| loaderHolder | back to summary |
|---|---|
| private final ClientIdentityLoaderHolder loaderHolder | |
| providerHolder | back to summary |
|---|---|
| private final FilePasswordProviderHolder providerHolder | |
| strict | back to summary |
|---|---|
| private final boolean strict | |
| ClientIdentityFileWatcher | back to summary |
|---|---|
| public ClientIdentityFileWatcher(Path path, ClientIdentityLoader loader, FilePasswordProvider provider) | |
| ClientIdentityFileWatcher | back to summary |
|---|---|
| public ClientIdentityFileWatcher(Path path, ClientIdentityLoader loader, FilePasswordProvider provider, boolean strict) | |
| ClientIdentityFileWatcher | back to summary |
|---|---|
| public ClientIdentityFileWatcher(Path path, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider) | |
| ClientIdentityFileWatcher | back to summary |
|---|---|
| public ClientIdentityFileWatcher(Path path, ClientIdentityLoaderHolder loader, FilePasswordProviderHolder provider, boolean strict) | |
| getClientIdentities | back to summary |
|---|---|
| public Iterable Implements org. Doc from org. Provides a
| |
| getClientIdentityLoader | back to summary |
|---|---|
| public ClientIdentityLoader getClientIdentityLoader() Implements org.
| |
| getFilePasswordProvider | back to summary |
|---|---|
| public FilePasswordProvider getFilePasswordProvider() Implements org.
| |
| isStrict | back to summary |
|---|---|
| public boolean isStrict() | |
| reloadClientIdentities | back to summary |
|---|---|
| protected Iterable | |