In a seam-gen generated application I added the login-required attribute, to force a user login. After that the CSS-Styles from richfaces aren't loaded neither in the login page itself nor at the other pages after successful authentication. (The application is unusable)
<page view-id="*" login-required="true">
<navigation>
<rule if-outcome="home">
<redirect view-id="/home.xhtml" />
</rule>
</navigation>
</page>
I returned to the standard settings in components.xml after I faced this issue.
<drools:rule-base name="securityRules">
<drools:rule-files>
<value>/security.drl</value>
</drools:rule-files>
</drools:rule-base>
<security:rule-based-permission-resolver security-rules="#{securityRules}"/>
<security:identity authenticate-method="#{authenticator.authenticate}" />
Seam Version 2.1.2
Any Ideas what I could do to get the Styles back or an alternative to force the user to login on all pages? Thanks