improving shiro security support and jersey security annotation