Page tree
Skip to end of metadata
Go to start of metadata

You can secure methods on a per-role basis in security.xml. This file is merged into your WEB-INF directory from AppFuse's common-web project. However, you can override it by copying it into your own project's src/main/webapp/WEB-INF directory. Here is the current code you'll need to modify to security more beans:

The easiest way to copy the security.xml file into your project is:

  1. Run mvn package.
  2. Copy target/yourproject-version/WEB-INF/security.xml to src/main/webapp/WEB-INF.
  • No labels