structs hibernate spring shiro