Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error in FrameworkImpl.java class

Help
Anonymous
2010-06-21
2013-04-17

  • Anonymous
    2010-06-21

    Error: add cast to 'saml2Assertion'
    if(log.isDebugEnabled()) {
    log.debug("decrypted SAML2 Assertion:\n" +
    FrameworkUtil.xmlToString(saml2Assertion.getDOM()));
    }

    The 2nd error: add cast to 'now'
    public void validateTokenLifetime(DateTime notBefore, DateTime notOnOrAfter) throws JICException {
    DateTime now = new DateTime();
    if (now.minusSeconds(TIME_JITTER_SECONDS).isAfter(notOnOrAfter))
    throw new JICException("received expired token.");
    if (now.plusSeconds(TIME_JITTER_SECONDS).isBefore(notBefore))
    throw new JICException("token is expired or was sent from the future.");
    }

    I don't know the problem and how to solve this error , please help.

    thank you,
    Liliane