Add basic JPA and Shiro configurations