upgrade netty to 4.0.0beta3 and fix compilation error caused by the
upgrade
use an single entry for interaction with im module
ensure index of account.username when register
map login to CRATE SESSION
bind shiro subject into MongoSession
destroy XmppContext before close socket
add message to exception when can't find a appropriate decoder
refactor code to detect nested exception in im module
throw appropriate error code when register fails
prevent password to be printed in toString()
bind shiro subject manually
throw IMException when login fail
Retrieve a user's contact
use shorter field name of document
make Account not extends SimpleUser
make XmppContext be aware of current login user
SimpleUser doesnot have to contain an id feild since we can query it
using username field