Package org.apereo.cas.authentication
Class DefaultRequestedAuthenticationContextValidator
- java.lang.Object
-
- org.apereo.cas.authentication.DefaultRequestedAuthenticationContextValidator
-
- All Implemented Interfaces:
org.apereo.cas.validation.RequestedAuthenticationContextValidator
public class DefaultRequestedAuthenticationContextValidator extends java.lang.Object implements org.apereo.cas.validation.RequestedAuthenticationContextValidator- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description DefaultRequestedAuthenticationContextValidator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static org.apereo.cas.validation.AuthenticationContextValidationResulttoSuccessfulResult()To successful result.org.apereo.cas.validation.AuthenticationContextValidationResultvalidateAuthenticationContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service)org.apereo.cas.validation.AuthenticationContextValidationResultvalidateAuthenticationContext(org.apereo.cas.validation.Assertion assertion, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected static org.apereo.cas.validation.AuthenticationContextValidationResultvalidateMultifactorProviderBypass(org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service, javax.servlet.http.HttpServletRequest request)Validate multifactor provider bypass.
-
-
-
Method Detail
-
toSuccessfulResult
protected static org.apereo.cas.validation.AuthenticationContextValidationResult toSuccessfulResult()
To successful result.- Returns:
- the authentication context validation result
-
validateMultifactorProviderBypass
protected static org.apereo.cas.validation.AuthenticationContextValidationResult validateMultifactorProviderBypass(org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service, javax.servlet.http.HttpServletRequest request)Validate multifactor provider bypass.- Parameters:
provider- the providerregisteredService- the registered serviceauthentication- the authenticationservice- the servicerequest- the request- Returns:
- the authentication context validation result
-
validateAuthenticationContext
public org.apereo.cas.validation.AuthenticationContextValidationResult validateAuthenticationContext(org.apereo.cas.validation.Assertion assertion, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)- Specified by:
validateAuthenticationContextin interfaceorg.apereo.cas.validation.RequestedAuthenticationContextValidator
-
validateAuthenticationContext
public org.apereo.cas.validation.AuthenticationContextValidationResult validateAuthenticationContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service)- Specified by:
validateAuthenticationContextin interfaceorg.apereo.cas.validation.RequestedAuthenticationContextValidator
-
-