@Override
    public String getMessage() {
        if (this.leniency > 0) {
            return String.format("CRL %s expired on %s and is beyond the leniency period of %s seconds.", this.id, this.expirationDate, this.leniency);
        }
        return String.format("CRL %s expired on %s", this.id, this.expirationDate);
    }
Creates a new instance describing a CRL that expired on the given date.

@param identifier     Identifier or name that describes CRL.
@param expirationDate CRL expiration date.
support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/ExpiredCRLException.java