Interface SecurityProvider
-
- 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 SecurityProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProvidergetProvider(String keyId)
-
-
-
Method Detail
-
getProvider
Provider getProvider(String keyId)
- Parameters:
keyId- is used as lookup to find the correct configured security provider for this keyId The keyId is sent in the message together with the signature- Returns:
- the security provider (which is never
null) - Throws:
IllegalArgumentException- if it can't provide a public key based on keyId
-
-