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_HANDLERS

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.beans.factory.ObjectProvider<? extends MultifactorAuthenticationProvider>
    Gets multifactor provider id linked to this handler.
    default org.apereo.cas.authentication.principal.Principal
    resolvePrincipal(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, supports

    Methods 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 context
      principal - the principal
      Returns:
      the principal