4 Replies Latest reply on Feb 13, 2008 6:34 PM by Gavin King

    Securing entire application using wildcard

    Fred B Newbie

      Hi,


      I tried to secure a seam 2.0.1.GA application using :


      
      <?xml version="1.0" encoding="UTF-8"?>
      
      <pages xmlns="http://jboss.com/products/seam/pages"
      
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      
             xsi:schemaLocation="http://jboss.com/products/seam/pages
      
             http://jboss.com/products/seam/pages-2.0.xsd"
      
      
             no-conversation-view-id="/home.xhtml"
      
             login-view-id="/login.xhtml">
      
      
      <page view-id="*" login-required="true">
      
              <navigation>
      
                  <rule if-outcome="home">
      
                      <redirect view-id="/home.xhtml"/>
      
                  </rule>
      
              </navigation>
      
          </page>
      
      



      While the site is secured as expected, the problem is Richfaces CSS can't be accessed anymore. Richfaces and custom .js and .css files are accessible though.


      Is there a simple way to have an application fully secured the way I tried?


      FWIW, I use Richfaces 3.1.4.GA.


      Regards,


      Fred.