Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Online Resources For Java Coding Best Practices

SAKAI

Common Java coding problems

Common Java Security Anti-patterns

...

  1. Assuming objects are immutable
  2. Basing security checks on untrusted sources
  3. Ignoring changes to superclasses
  4. Neglecting to validate inputs
  5. Misusing public static variables
  6. Believing a constructor exception destroys
    the object

This powerpoint presentation comes for from the JavaOne 2006 Entitled presentation entitled 'Common Java Security Anti-patterns'. It contains code examples of each of the above antipatterns.