Package org.apereo.cas.authentication
Interface MultifactorAuthenticationHandler
- All Superinterfaces:
org.apereo.cas.authentication.AuthenticationHandler,org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
public interface MultifactorAuthenticationHandler
extends org.apereo.cas.authentication.AuthenticationHandler
This is
MultifactorAuthenticationHandler.
It represents the common operations that a given handler
might expose or implement for multifactor authentication,
or can be treated as a marker interface.- Since:
- 6.4.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandler
SUCCESSFUL_AUTHENTICATION_HANDLERSFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.ObjectProvider<? extends MultifactorAuthenticationProvider> Gets multifactor provider id linked to this handler.default org.apereo.cas.authentication.principal.PrincipalresolvePrincipal(org.springframework.context.ApplicationContext applicationContext, org.apereo.cas.authentication.principal.Principal principal) Resolve principal.Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandler
authenticate, getOrder, getState, supports, supportsMethods inherited from interface org.apereo.cas.util.NamedObject
getName
-
Method Details
-
getMultifactorAuthenticationProvider
org.springframework.beans.factory.ObjectProvider<? extends MultifactorAuthenticationProvider> getMultifactorAuthenticationProvider()Gets multifactor provider id linked to this handler.- Returns:
- the multifactor provider id
-
resolvePrincipal
default org.apereo.cas.authentication.principal.Principal resolvePrincipal(org.springframework.context.ApplicationContext applicationContext, org.apereo.cas.authentication.principal.Principal principal) Resolve principal.- Parameters:
applicationContext- the application contextprincipal- the principal- Returns:
- the principal
-