protected void buildEcpFaultResponse ( final HttpServletResponse response , final HttpServletRequest request , final Pair < RequestAbstractType , String > authenticationContext ) { request . setAttribute ( SamlIdPConstants . REQUEST_ATTRIBUTE_ERROR , authenticationContext . getValue ( ) ) ; getSamlProfileHandlerConfigurationContext ( ) . getSamlFaultResponseBuilder ( ) . build ( authenticationContext . getKey ( ) , request , response , null , null , null , SAMLConstants . SAML2_PAOS_BINDING_URI , null ) ; }
Build ecp fault response .