Jump to content
We've recently updated our Privacy Statement, available here ×

rasaw

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by rasaw

  1. TLDR: role mapping defined in 'webapps/jasperserver-pro/WEB-INF/applicationContext-externalAuth-template-mt.xml' is ignored, users do not receive ROLE_SUPERUSER or ROLE_ADMINISTRATOR. Even setting the default role to ROLE_SUPERUSER for testing purpose does not work. What is the proper place? More details: I successfully authenticate users via this guide https://community.jaspersoft.com/documentation/jasperreports-authentication-cookbook/v56/authentication-based-request In server logs I can see roles are received as well: ROLE_SUPERUSER_EXT <-- this is the role I pass from external source, tried multiple names. Somewhere below that I can see the following, however I am unable to find source code for that message/ is it relevant? Mapping in applicationContext-externalAuth-template-mt.xml: I tried passing directly JasperServer roles as well with no luck. Any hints?
  2. I'm trying to follow this guide 'Authentication Based on Request' ( https://community.jaspersoft.com/documentation/tibco-jasperreports-server-authentication-cookbook/v601/authentication-based-request ) as I have a custom Filter that can provide user details and user roles (bind to headers/request attributes). Where can I find sources for CustomAuthenticationToken & CustomAuthenticationProcessingFilter? 1.Modify CustomAuthenticationProcessingFilter.java to work with your authentication method. This class takes a single HttpServletRequest parameter and returns a Spring Authentication object. You can use one of Spring's implementations of Authentication, or you can use our CustomAuthenticationToken. Your user request needs to have sufficient information for your custom authentication method to authenticate using the request.
×
×
  • Create New...