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.
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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()getCredentials(CredentialsRequest request)
-
Method Details
-
getCredentials
-
close
default void close()- Specified by:
closein interfaceAutoCloseable
-