Hi,

I'm extremely new to shiro, so I'm might be talking nonsense, but javadoc
for AuthenticatingRealm.doGetAuthenticationInfo doesn't match the
implementation in JdbcRealm which is very confusing.

Javadocs says that the method should return null if no user can be matched
while the jdbc implementation throws an UnknownAccountException in that
case. I'm writing my own realm (using hibernate) and I'm quite confused what
should I do - return null or throw an exception.

Any advice?

Thank you!
Ilya.
-- 
View this message in context: 
http://shiro-user.582556.n2.nabble.com/JdbcRealm-doGetAuthenticationInfo-doesn-t-follow-javadoc-tp6042880p6042880.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to