• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to implement FBA with JPA?

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bras cause cancer. And tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic