SecuredResources class is now immutable. We have to consider where this class should belong to the app directly or it should be provided to the library as configuration parameter or etc.
Added Todo item about this.