Class AbstractChainingCredentialResolver.CredentialIterator

    • Constructor Detail

      • CredentialIterator

        public CredentialIterator​(@Nonnull
                                  AbstractChainingCredentialResolver<ResolverType> resolver,
                                  @Nullable
                                  CriteriaSet criteriaSet)
        Constructor.
        Parameters:
        resolver - the chaining parent of this iterable
        criteriaSet - the set of criteria which is input to the underyling resolvers
    • Method Detail

      • getNextCredentialIterator

        @Nullable
        private Iterator<Credential> getNextCredentialIterator()
        Get the iterator from the next resolver in the chain.
        Returns:
        an iterator of credentials, or null if none is available
      • getNextCredential

        @Nullable
        private Credential getNextCredential()
        Get the next credential that will be returned by this iterator.
        Returns:
        the next credential to return, or null if none is available