Package org.apereo.cas.authentication
Interface MultifactorAuthenticationTrigger
-
- All Superinterfaces:
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.OrderedThis isMultifactorAuthenticationTrigger.- Since:
- 6.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringgetName()default intgetOrder()java.util.Optional<MultifactorAuthenticationProvider>isActivated(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, javax.servlet.http.HttpServletRequest httpServletRequest, org.apereo.cas.authentication.principal.Service service)Is activated optional.default booleansupports(javax.servlet.http.HttpServletRequest request, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service)Supports.
-
-
-
Method Detail
-
isActivated
java.util.Optional<MultifactorAuthenticationProvider> isActivated(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, javax.servlet.http.HttpServletRequest httpServletRequest, org.apereo.cas.authentication.principal.Service service)
Is activated optional.- Parameters:
authentication- the authenticationregisteredService- the servicehttpServletRequest- the http servlet requestservice- the service- Returns:
- the optional
-
supports
default boolean supports(javax.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
-
getName
default java.lang.String getName()
-
-