On Wed, Dec 28, 2011 at 11:01 PM, csckid testnowsh...@gmail.com wrote:
I am stuck with authenticating user from database table.
In this function doGetAuthenticationInfo() don't we need to set the Subject?
What is the purpose of SimpleAuthenticationInfo?
No better source for answers than
= findByUsername(username);
return new SimpleAuthenticationInfo(username,
user.getEncodedPassword(),
new SimpleByteSource(user.getPasswordSalt()), getName());
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/shiro-authentication-tp5106945p5106945.html
Sent