KeyPair is generated
| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private FilePasswordProvider |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Iterable | |
| protected Iterable | doLoadKeys(SessionContext session, NamedResource resourceKey, R resource, FilePasswordProvider provider)
|
| protected Iterable | doLoadKeys(SessionContext session, NamedResource resourceKey, InputStream inputStream, FilePasswordProvider provider)
|
| protected IoResource | |
| public FilePasswordProvider | |
| protected Iterable | |
| protected InputStream | |
| protected void | resetCacheMap(Collection<?>
The collection of new resources - can be resources)null/empty in which case the cache is clearedChecks which of the new resources we already loaded and can keep the associated key pair |
| public void |
| cacheMap | back to summary |
|---|---|
| private final Map<String, Iterable<KeyPair>> cacheMap | |
| passwordFinder | back to summary |
|---|---|
| private FilePasswordProvider passwordFinder | |
| AbstractResourceKeyPairProvider | back to summary |
|---|---|
| protected AbstractResourceKeyPairProvider() | |
| doLoadKeys | back to summary |
|---|---|
| protected Iterable | |
| doLoadKeys | back to summary |
|---|---|
| protected Iterable | |
| doLoadKeys | back to summary |
|---|---|
| protected Iterable | |
| getIoResource | back to summary |
|---|---|
| protected IoResource | |
| getPasswordFinder | back to summary |
|---|---|
| public FilePasswordProvider getPasswordFinder() | |
| loadKeys | back to summary |
|---|---|
| protected Iterable | |
| openKeyPairResource | back to summary |
|---|---|
| protected InputStream openKeyPairResource(SessionContext session, NamedResource resourceKey, R resource) throws IOException | |
| resetCacheMap | back to summary |
|---|---|
| protected void resetCacheMap(Collection<?> resources) Checks which of the new resources we already loaded and can keep the associated key pair
| |
| setPasswordFinder | back to summary |
|---|---|
| public void setPasswordFinder(FilePasswordProvider passwordFinder) | |
| Modifier and Type | Field and Description |
|---|---|
| private Iterator | |
| private final Iterator | |
| private KeyPair | |
| private boolean | |
| protected final SessionContext |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public KeyPair | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| private boolean |
| currentIdentities | back to summary |
|---|---|
| private Iterator<KeyPair> currentIdentities | |
| iterator | back to summary |
|---|---|
| private final Iterator<? extends R> iterator | |
| nextKeyPair | back to summary |
|---|---|
| private KeyPair nextKeyPair | |
| nextKeyPairSet | back to summary |
|---|---|
| private boolean nextKeyPairSet | |
| session | back to summary |
|---|---|
| protected final SessionContext session | |
| KeyPairIterator | back to summary |
|---|---|
| protected KeyPairIterator(SessionContext session, Collection<? extends R> resources) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public KeyPair next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| setNextObject | back to summary |
|---|---|
private boolean setNextObject()
| |