class OidcLongTimeConverter implements AttributeConverter {

    /** {@inheritDoc} */
    @Override
    public Date convert(final Object attribute) {<FILL_FUNCTION_BODY>}
}

        if (attribute instanceof Long) {
            final long seconds = (Long) attribute;
            return new Date(seconds * 1000);
        }
        return null;
    
<no_super_class>