Interface CredentialsFactory

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
StaticCredentialsFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CredentialsFactory extends AutoCloseable
Supplies credentials for LoomCache client AUTH handshakes.

Applications can implement this SPI to fetch short-lived credentials from Vault, a JWT issuer, Kerberos ticket tooling, or another external identity provider. The client invokes the factory for every node connection that needs an AUTH message, including reconnects and leader redirects.