protected TicketValidator buildSAMLTicketValidator(final WebContext context) {
        val saml11TicketValidator = new Saml11TicketValidator(computeFinalPrefixUrl(context));
        saml11TicketValidator.setTolerance(getTimeTolerance());
        saml11TicketValidator.setEncoding(this.encoding);
        saml11TicketValidator.setRenew(this.renew);
        getHttpURLConnectionFactory().ifPresent(saml11TicketValidator::setURLConnectionFactory);
        return saml11TicketValidator;
    }
<p>buildSAMLTicketValidator.</p>

@param context a {@link WebContext} object
@return a {@link TicketValidator} object
pac4j-cas/src/main/java/org/pac4j/cas/config/CasConfiguration.java