Replying to myself... in thinking about this a little more, I think what
makes more sense is to have a production realm configured in shiro.ini that
does the AD authentication, then for testing and development, we have a
shiro-dev.ini that defines a realm that authenticates anyone that logs in
with the password of test (or, more generically, uses some other realm). So,
my question is still similar - how do I setup a realm that will authenticate
arbitrarily via code/algorithm I write? Is there one already in Shiro I can
use or  should I extend one of the built-in classes and override a method(s)
to make it work like that?

Looks like I should just extend AuthorizingRealm and create a
TestAuthorizingRealm from it?



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/fake-authentication-in-Shiro-with-test-password-tp7579014p7579019.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to