Package org.apereo.cas.authentication
Interface MultifactorAuthenticationTrigger
- All Superinterfaces:
org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
- 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 MultifactorAuthenticationTrigger
extends org.springframework.core.Ordered, org.apereo.cas.util.NamedObject
This is
MultifactorAuthenticationTrigger.- Since:
- 6.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetOrder()isActivated(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, org.apereo.cas.authentication.principal.Service service) Is activated optional.default booleansupports(jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service) Supports.Methods inherited from interface org.apereo.cas.util.NamedObject
getName
-
Method Details
-
isActivated
Optional<MultifactorAuthenticationProvider> isActivated(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, org.apereo.cas.authentication.principal.Service service) throws Throwable Is activated optional.- Parameters:
authentication- the authenticationregisteredService- the servicehttpServletRequest- the http servlet requesthttpServletResponse- the http servlet responseservice- the service- Returns:
- the optional
- Throws:
Throwable- the throwable
-
supports
default boolean supports(jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service) Supports.- Parameters:
request- the requestregisteredService- the registered serviceauthentication- the authenticationservice- the service- Returns:
- true/false
-
getOrder
default int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-