Security integration with Apache Shiro