I have setup an application using SWF, JSF2 (Primefaces) and Hibernate+JPA stack. It's running fine. Below is the line from security config which intercepts requests:
SWF has been configured like this:
<intercept-url access="hasRole('C')" pattern="/app/*" />
Now what I want is to separate Admin pages on the URL /app/admin/* but unable to do it. I placed my admin flow in flows/admin folder, defined a flowRegisteryAdmin, made it parent of flowRegistry but my admin pages open on /app/* as well as /app/admin/*. What changes do I need to make to get it working.
<flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices" base-path="/WEB-INF/flows">
<flow-location-pattern value="/**/*-flow.xml" />
<property name="flowRegistry" ref="flowRegistry" />
I am having a gut feeling that this may be very basic concept but I am unable to find out or google it. And please can you tell why flows placed in admin folder are accessible on both the URLs