This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to implement FBA with JPA?

 
Ranch Hand
Posts: 420
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been studying http://jpasecurity.sourceforge.net/reference/manual.html because I have memory/XML based authentication working and I want to store the usernames and passwords in a database with JPA.

Is this a good link?

Where can I find an implementation of net.sf.jpasecurity.configuration.SecurityContext? I was hoping for a pom.xml entry.

UPDATE:
I found this page and I got the jpasecurity-core into my local maven repository after resolving some types in this page: http://jpasecurity.sourceforge.net/simple-tutorial/dependencies.html
However, I cannot figure out where to download jpasecurity-jpa. I cannot find it on the source forge site! ARGHH! It does not seem to be inside the jpasecurity-core file.

Now I am getting this error:
Cannot find class [net.sf.jpasecurity.persistence.SecurePersistenceProvider]

Thanks
Siegfried
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never heard of that library.

Spring Security offers ACL. It's one of the less documented features and requires a little more configuration, however I have used it extensively on multiple projects with good success. I really should write blogs on this stuff so I have some example to link to

Here it is in the reference documentation:
http://docs.spring.io/autorepo/docs/spring-security/3.0.x/reference/domain-acls.html

Here is a blog that will give you some idea:
http://krams915.blogspot.com/2011/01/spring-security-3-full-acl-tutorial.html
 
This is my favorite tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic