rasaw Posted February 6, 2023 Share Posted February 6, 2023 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. Link to comment Share on other sites More sharing options...
Solution Yuriy Plakosh Posted February 6, 2023 Solution Share Posted February 6, 2023 The source code for these classes can be found at https://github.com/TIBCOSoftware/jasperreports-server-ce/tree/master/jasperserver/jasperserver-api-impl/externalAuth/src/main/java/com/jaspersoft/jasperserver/api/security/externalAuth/custom Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now