If the can looks good and when you open it, the stuff inside looks/smells the way it ought to, then you should be okay (but note FryBoy's comments about toxins). If it looks like the contents have broken down even an iota, chuck it. Also check for the weight of a can. Sometimes the can may look perfect but feels lighter that it should. (Happened to me once.) Check for leaks, even going so far as to fully submerge the can in a bowl of water. Any air bubbles and you have a leak. Ditch.
It was only a few years ago that they discovered cans in a bomb shelter from WW2 and the contents were perfect.
Don't forget that use by dates should be seen as guides only. They are there for legal reasons as well as health ones. (And if you are a bit cynical, marketing reasons as well!) And they use statistical data to formulate them.