Results 1 to 2 of 2

Thread: separate sub-context for admin pages

  1. #1

    Default 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:

    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>
    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. #2

    Default

    so there's no resolution to my problem

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •