Upgrade code dependent mechanism and adjust the Shiro version