Re: shiro authentication

2011-12-29 Thread Kalle Korhonen
On Wed, Dec 28, 2011 at 11:01 PM, csckid 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 [Shiro's javadoc][1]. doGe

shiro authentication

2011-12-28 Thread csckid
UserAccount user = 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-authenticati