Add Shiro security support.