protected void error ( HttpServletRequest httpRequest , HttpServletResponse httpResponse , Status errorStatus ) throws ExternalAuthenticationException , IOException { this . error ( httpRequest , httpResponse , new IdpErrorStatusException ( errorStatus ) ) ; }
Method that should be invoked to exit the external authentication process with an error where the SAML status to respond with is given .