You can list all available finders and add the finder you need to your application using the following documentation. You can read more in corresponding question.
Then you can modify corresponding method in corresponding Spring MVC controller adding Principal
parameter the following way:
@RequestMapping(method = RequestMethod.GET)
public ModelAndView showResults(final HttpServletRequest request, Principal principal) {
final String currentUser = principal.getName();
...
}
Remember you should't modify it right in ITD but you should copy it to the corresponding *.java controller first. In this method you should modify list which used inside with usage of your finder.
And finally you can exclude your dynamic finders from scaffolding by using exposeFinders=false
of RooWebScaffold
annotation.