3

Here I found a simple vertx project that uses apache-shiro for auth. Here the user informations are stored inside src/main/resources/vertx-users.properties file like this:

user.tim = sausages,morris_dancer,developer,vtoons
role.developer=do_actual_work
role.vtoons=place_order

Is this a good approach to store user name and password in a file? Can we store these information in encrypted format or anywhere in a database. Can apache-shiro access these info from a db? Please provide if you have some sample projects

Adam Michalik
  • 9,678
  • 13
  • 71
  • 102
din_oops
  • 698
  • 1
  • 9
  • 27

1 Answers1

0

Better use LDAP or DB

use blog http://meri-stuff.blogspot.in/2011/04/apache-shiro-part-2-realms-database-and.html for reference

Also this stackflow post Configure shiro.ini for JDBC connection

Community
  • 1
  • 1
Dev
  • 6,628
  • 2
  • 25
  • 34