Interface ProviderSelectionPolicy

    • Method Detail

      • selectProvider

        <T extends SecurityProviderOptional<T> selectProvider​(Class<T> providerType)
        Select a provider instance of the type defined that this policy has configured as the default.
        Type Parameters:
        T - type of provider
        Parameters:
        providerType - type of provider (one of AuthenticationProvider, AuthorizationProvider)
        Returns:
        security provider instance
      • selectOutboundProviders

        List<OutboundSecurityProvider> selectOutboundProviders()
        Specific method for outbound providers, as we have an option to choose the first outbound provider that matches the current request.
        Returns:
        list of outbound provider to choose from (may be empty)