public void encodeSamlResponse(final Response samlResponse, final HttpServletRequest request, final HttpServletResponse response) throws Exception {
        this.samlObjectBuilder.encodeSamlResponse(response, request, samlResponse);
    }
public void encodeSamlResponse ( final Response samlResponse , final HttpServletRequest request , final HttpServletResponse response ) throws Exception { this . samlObjectBuilder . encodeSamlResponse ( response , request , samlResponse ) ; }
Encode saml response.

@param samlResponse the saml response
@param request      the request
@param response     the response
@throws Exception the exception