Interface KeyLocator

  • All Known Implementing Classes:
    CompositeKeyLocator, HardcodedKeyLocator

    public interface KeyLocator
    This interface defines a method for obtaining a security key by ID.

    If the KeyLocator implementor wants to make all its keys available for iteration, it should implement Iterable<T extends Key> interface. The base KeyLocator does not extend this interface to enable KeyLocators that do not support listing their keys.

    Author:
    Hynek Mlnařík
    • Method Detail

      • refreshKeyCache

        void refreshKeyCache()
        If this key locator caches keys in any way, forces this cache cleanup and refreshing the keys.