Class 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static org.apereo.cas.validation.AuthenticationContextValidationResult toSuccessfulResult()
      To successful result.
      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)  
      org.apereo.cas.validation.AuthenticationContextValidationResult validateAuthenticationContext​(org.apereo.cas.validation.Assertion assertion, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultRequestedAuthenticationContextValidator

        public DefaultRequestedAuthenticationContextValidator()
    • 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 provider
        registeredService - the registered service
        authentication - the authentication
        service - the service
        request - 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:
        validateAuthenticationContext in interface org.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:
        validateAuthenticationContext in interface org.apereo.cas.validation.RequestedAuthenticationContextValidator