public abstract class AbstractMultifactorAuthenticationProvider
extends java.lang.Object
implements org.apereo.cas.services.MultifactorAuthenticationProvider
AbstractMultifactorAuthenticationProvider is responsible for
as the parent of all providers.| Constructor and Description |
|---|
AbstractMultifactorAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAvailable()
Is provider available?
|
boolean |
isAvailable(org.apereo.cas.services.RegisteredService service) |
boolean |
matches(java.lang.String identifier) |
boolean |
supports(org.springframework.webflow.execution.Event event,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request) |
protected boolean |
supportsInternal(org.springframework.webflow.execution.Event e,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService)
Determine internally if provider is able to support this authentication request
for multifactor, and account for bypass rules..
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AbstractMultifactorAuthenticationProvider()
public final boolean supports(org.springframework.webflow.execution.Event event,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request)
supports in interface org.apereo.cas.services.MultifactorAuthenticationProviderprotected boolean supportsInternal(org.springframework.webflow.execution.Event e,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService)
e - the eventauthentication - the authenticationregisteredService - the registered servicepublic boolean isAvailable(org.apereo.cas.services.RegisteredService service)
throws org.apereo.cas.authentication.AuthenticationException
isAvailable in interface org.apereo.cas.services.MultifactorAuthenticationProviderorg.apereo.cas.authentication.AuthenticationExceptionprotected boolean isAvailable()
public boolean matches(java.lang.String identifier)
matches in interface org.apereo.cas.services.MultifactorAuthenticationProvider