This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15951
    
  19

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
 
Similar Threads
JSF 1.2 + Authentication with Spring Security 3.0.5
problem with spring security
Error JSF 2.1: java.io.FileNotFoundException:*/*.xhtml Not Found in ExternalContext
Problem in Spring security redirection
spring security 3.1 login not working.