Hi All
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:HTML Code:<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.Code:<flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices" base-path="/WEB-INF/flows"> <flow-location-pattern value="/**/*-flow.xml" /> </flow-registry> ----------- <bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping"> <property name="flowRegistry" ref="flowRegistry" /> </bean>
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


Reply With Quote
