O'Reilly logo

Apache OFBiz Cookbook by Ruth Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Protecting applications using security groups

"Security groups" allow for fine-grain permission checking, on a user-by-user basis, across an entire OFBiz web application ("webapp"). If you have webapps needing protection based on a user's permissions—that is, a user's authorization to perform various business processing tasks—and not just login authentication, then using security groups may be the answer.

How to do it...

To protect an OFBiz webapp using security groups, proceed as described here:

  1. In the ofbiz-component.xml file for the component containing the webapp to be secured, add one or more security groups using the base-permission attribute. To add multiple security groups, separate each group name with a comma (","). In the following example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required