You should use restrict.
But restrict will raise an exception? org.jboss.seam.security.AuthorizationException? But I don't need it.
Pete, can you please explain me, how can I customize reaction on org.jboss.seam.security.AuthorizationException for different situations?
For example, for login.seam I need redirect to welcome.xhtml if user is already loginned, for item.seam I need redirect to list.seam if parameter itemId is absent in request and so on.
For now I see only one configuration without considering where this exception occured:
<exception class="org.jboss.seam.security.AuthorizationException"> <redirect> <message severity="ERROR">You don't have permission to do this.</message> </redirect> </exception>
Did I understand you answer correctly? Or you meant something else?