Module io.helidon.security
Package io.helidon.security.spi
Interface ProviderSelectionPolicy.Providers
- Enclosing interface:
ProviderSelectionPolicy
public static interface ProviderSelectionPolicy.Providers
Interface that is passed to a constructor of a
ProviderSelectionPolicy
implementation to supply all configured
providers from security.-
Method Summary
Modifier and TypeMethodDescription<T extends SecurityProvider>
List<NamedProvider<T>> getProviders
(Class<T> providerType) Get a list of named providers based on provider type.
-
Method Details
-
getProviders
Get a list of named providers based on provider type.- Type Parameters:
T
- type of provider- Parameters:
providerType
- Type of provider (one ofAuthenticationProvider
,AuthorizationProvider
orOutboundSecurityProvider
)- Returns:
- List of providers that match the type, or empty list if none found
-