concept authorization in category seam

This is an excerpt from Manning's book Seam in Action.
Authentication and authorization are easily confused with each other. Authentication is about establishing the user’s identity. Authorization, the second A, is about checking to see whether the user is permitted to access a restricted resource or perform a restricted action. The restriction is based on a fact. In the previous section, you used binary authorization, which separates the members from the guests. In that case, the fact reads “the user is authenticated.” If that fact can be verified, the user is permitted access. However, once the user is authenticated, you need more facts to check (otherwise, everyone would be an administrator).
Notice that the body of the <restrict> tag contains an EL expression. That EL expression must return a boolean value, but otherwise it can be as complex as you need it to be, as explained in the previous section. If the body of the <restrict> tag is empty, Seam performs a rule-based permission check following a convention covered in section 11.4.4. The rule-based permission check has the benefit of being able to distinguish between the restore phase and the render phase. A rule is capable of checking for a role, so you can use a rule as a way to get both flavors of security. Either way, to have Seam apply authorization at the page level, whether it be role- or rule-based, you have to use the <restrict> tag.