Jump to content
Changes to the Jaspersoft community edition download ×

Custom dynamic home page with dynamic content


Recommended Posts


I have to create custom home page with dynamic content depending of LDAP group the user belongs to. The user may belong to several groups, so I can't just set an individual home page for every role in    homePageByRole at  jasperserver-servlet.xml.

I tried to write my own servlet and get info from request.getUserPrincipal(), but it returns NULL so I can't go further. I guess I'm missing something important such as authorization context or similar.

Could you please advise me how to get user's roles from servlet or JSP page?

I'm using JasperReports 6.3.0 with Apache Tomcat 8.5.16 and JRE 1.8.0_51.


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...