CA Service Management

  • 1.  JasperServer not redirecting homePage depending on role

    Posted Feb 08, 2019 07:42 AM

    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



  • 2.  Re: JasperServer not redirecting homePage depending on role

    Broadcom Employee
    Posted May 14, 2019 03:40 AM

    Hi Domagoj,

     

    Could the resolution on the following page help (it is slightly different)?

    https://community.jaspersoft.com/wiki/customizing-home-or-login-page

     

    Regards,

    Karen



  • 3.  Re: JasperServer not redirecting homePage depending on role

    Broadcom Employee
    Posted May 16, 2019 07:55 AM

    dhrzic 

    Did the solution provided by KarenMatoke in the previous post help?

    If so, please mark KarenMatoke answer as correct so that this thread can be closed.



  • 4.  Re: JasperServer not redirecting homePage depending on role

    Posted May 16, 2019 08:05 AM

    I've seen that document earlier and I'm afraid no.

     

    I will go in further research and post back the result.

     

    Best Regards,

    Domagoj



  • 5.  Re: JasperServer not redirecting homePage depending on role
    Best Answer

    Broadcom Employee
    Posted May 16, 2019 12:38 PM

    dhrzic .......

     

    Sorry to hear that the proposed solution did not resolve the issue.

     

    I would recommend opening a Support Case so that Tibco Support can be engaged for further assistance.  Please provide the Support Case # for reference.