Hi all,
I have an issue where i tried to configure jasperserver-servlet-pro.xml (tried also in jasperserver-servlet.xml)to redirect when user with ROLE_HOME log in, but it's not redirecting at all... Changed the flowId for ROLE_ADMINISTRATOR AND _USER from homeFlow to searchFlow - and nothing changed...
jasperserver-servlet.xml
<bean id="homePageByRole" class="java.util.ArrayList">
<constructor-arg index="0" type="java.util.Collection">
<list>
<value>ROLE_ADMINISTRATOR|redirect:/flow.html?_flowId=searchFlow</value>
<value>ROLE_USER|redirect:/flow.html?_flowId=searchFlow</value>
</list>
</constructor-arg>
</bean>
jasperserver-servlet-pro.xml
<bean id="proHomePageByRole" class="java.util.ArrayList">
<constructor-arg index="0" type="java.util.Collection">
<list>
<value>ROLE_ADMINISTRATOR|redirect:/flow.html?_flowId=searchFlow</value>
<value>ROLE_USER|redirect:/flow.html?_flowId=homeFlow</value>
</list>
</constructor-arg>
</bean>
After changing the values it still redirects to default: jasperserver-pro/flow.html?_flowId=homeFlow
I can't get it out why this is not working..
Any idea what it could be?
Thanks in advance,
Domagoj