Interface MultifactorAuthenticationProviderFactoryBean<T extends MultifactorAuthenticationProvider,​P extends org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties>

  • 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 MultifactorAuthenticationProviderFactoryBean<T extends MultifactorAuthenticationProvider,​P extends org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties>
    Interface for beans that can be considered a Factory that can create instances of specific MultifactorAuthenticationProvider when passed an instance of BaseMultifactorAuthenticationProviderProperties Used by MFA providers that can be configured with multiple instances at runtime such as Duo.
    Since:
    6.0
    • Field Detail

      • PROVIDER_SUFFIX

        static final java.lang.String PROVIDER_SUFFIX
        Default suffix to add to the bean name.
        See Also:
        Constant Field Values
    • Method Detail

      • createProvider

        T createProvider​(P properties)
        Create an instance of MultifactorAuthenticationProvider based on passed properties.
        Parameters:
        properties - - the properties
        Returns:
        - the provider
      • beanName

        default java.lang.String beanName​(java.lang.String id)
        Method returns the generated bean name for the provider.
        Parameters:
        id - - the id
        Returns:
        - the beanName