Hi Sven
I don't think there's a possibility to read users,roles,pw from "local
file", by which you probably mean PropertiesRealm. Well a Realm
(whatever properties or jdbc) only answers questions like can a person x
do something y. I'd suggest you extend the class and add your read
users,roles,pw to it.
As for the Iniconfiguration, its just a way to retrieve a
SecurityManager as far as I know, i.e. it determines how you connect to
your Realm, not what's in that realm or how to read it.
Hope that was helpful
Ciao
javadude wrote:
Hi !
First: Shiro is a great library ! I hope it will grow even more under
Apache.
I am walking through some of the few samples and tutorials. While the use of
the security functionality is rather easy (login, logout, haspermission,..)
the setup might be bit more complex due the missing "how-to's". I started to
collect all information while getting-started (shiro together with
netbeans,glassfish) and will share this as soon as it would be complete.
While my development focus is on web applications, I also will deploy
standalone applications.
Is there any information or snippet how to read the user,roles,pw from a
local file ?
I tried to use the standalone sample, but it refers to a Class
IniConfiguration which seems to be deprecated in the incubator version.
Cheers
Sven