aspose file tools*
The moose likes JSF and the fly likes RichFaces + Spring Security -- Problem Load RichFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "RichFaces + Spring Security -- Problem Load RichFaces" Watch "RichFaces + Spring Security -- Problem Load RichFaces" New topic
Author

RichFaces + Spring Security -- Problem Load RichFaces

Daniel Cabral
Greenhorn

Joined: Aug 18, 2011
Posts: 13

I have a problem with Richfaces in login page using spring-security, the css and skin of richfaces dont load, I try intercept a4j and richfaces in security.xml.

I using Mojarra 1.2 + RichFaces 3.3.x + Spring security 2.0.7 + Jboss 4.2.3GA

My files..

web.xml



security-context.xml


any ideas?

Thanks.


Sun Certified Java Programmer SE 5.0
Daniel Cabral
Greenhorn

Joined: Aug 18, 2011
Posts: 13

Hi,

I resolved using
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Rule #1 of login pages. Don't put the styles, images, and javascript behind security. You won't be able to access them until AFTER you've logged in!

Actually, that's rule #2. Rule #1 is to use a pre-debugged standard security framework instead of Do It Yourself. But you already did that!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RichFaces + Spring Security -- Problem Load RichFaces