Announcement Announcement Module
No announcement yet.
separate sub-context for admin pages Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • separate sub-context for admin pages

    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:
    HTML Code:
    <intercept-url access="hasRole('C')" pattern="/app/*" />
    SWF has been configured like this:

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

    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

  • #2
    so there's no resolution to my problem