20. Rule-Based Security Framework

Business process is closely related to business rules. Seam integrates the JBoss Rules (formerly known as Drools) engine to support sophisticated rules. In fact, Seam itself uses JBoss Rules to implement an innovative security framework for web applications. In this chapter, we introduce the Seam security framework and showcase how business rules are used to manage security.

Managed security is one of those “half-measure solutions” in enterprise Java. The standard Java EE security model works okay for the simplest cases (e.g., to require login to access part of the site). But more often than not, developers struggle against the standard Java EE security schemes and work around it rather than using it.

The Seam ...

Get JBoss® Seam: Simplicity and Power Beyond Java™ EE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.