Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RichFaces + Spring Security -- Problem Load RichFaces

 
Daniel Cabral
Greenhorn
Posts: 13
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Daniel Cabral
Greenhorn
Posts: 13
Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I resolved using
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18012
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic