• 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

Jetty and JDBC Realm ?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok so my boss wants me to figure out how to restrict access using JDBC Realm's.

Basically I am using Jetty 6.1.9
I have been looking into this and found no good example of how to do this.

my /etc folder has


In the jdbcRealm.properties it contains these directions



I did create the 3 tables but as you can see their is no Replace HashUserRealm in etc/admin.xml with JDBCUserRealm and
set path to properties file.

"etc/admin.xml does not exist"

Either way does anybody know how to restrict access to webapps folder by the users in a database in jetty?
In tomcat it is like


If somebody code guide me thru this it would mean alot.
Thanks.

I have tried to google for jetty forums but their is no good ones I can find. I have also tried looking thru their examples but the don't have any good ones.
 
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic