O'Reilly logo
  • tim siu thinks this is interesting:

Protecting a Resource with a MemoryRealm

From

Cover of Apache Tomcat 7

Note

follow the example please