Package org.apereo.cas.authentication
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 specificMultifactorAuthenticationProviderwhen passed an instance ofBaseMultifactorAuthenticationProviderPropertiesUsed by MFA providers that can be configured with multiple instances at runtime such as Duo.- Since:
- 6.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROVIDER_SUFFIXDefault suffix to add to the bean name.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringbeanName(java.lang.String id)Method returns the generated bean name for the provider.TcreateProvider(P properties)Create an instance ofMultifactorAuthenticationProviderbased on passed properties.
-
-
-
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 ofMultifactorAuthenticationProviderbased 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
-
-