lhazlewood / apache-shiro-tutorial-webapp

A step-by-step tutorial showing how to secure a web app with Apache Shiro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Stormpath makes it more complicated

zak905 opened this issue · comments

Why using Stormpath while these simple lines in shiro.ini are enough to have a static user set up:

#username admin, password: secret
[users]
admin = secret

Static username/passwords are great for quick examples, but it isn't a real world use-case (or at least it shouldn't be). That said, we do need to update this example.

Static username/passwords are great for quick examples, but it isn't a real world use-case

Indeed.
Even if it's very convenient and easy to use, unfortunately Stormpath isn't either an example for most users to simply just use it as a starting point :( .

Maybe a simple JDBC example with e.g. a H2 Database would be more helpful to get everybody on board ?

Thank you.

A Jdbc example would be great.

JDBC example? Yes please. Coming from PHP frameworks such as zend and laravel I am finding it difficult to get this up and running.