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 aProviderSelectionPolicy
implementation to supply all configured providers from security.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends SecurityProvider>
List<NamedProvider<T>>getProviders(Class<T> providerType)
Get a list of named providers based on provider type.
-
-
-
Method Detail
-
getProviders
<T extends SecurityProvider> List<NamedProvider<T>> getProviders(Class<T> providerType)
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
-
-