I suggest that you start diving into the official documentation of the Shiro framework. It’s true that its documentation is poor in comparison to other frameworks such as Spring Security or PicketLink, which have more resources and more support:
There are some useful tutorials, including older Shiro stuff, like for INI and XML configuration:
You can learn tips and tricks from these tutorials, and you can adopt these modifications in any JavaEE7 project.