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

sanat_1

Members
  • Posts

    1
  • 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 sanat_1

  1. Using SSO to login to jasper.Created ROLE_CHECK in jasperAdded 2 users (say user1 and user2) to ROLE_CHECK.In the repository given administrator permission to the root folder to ROLE_CHECK.Used below code is there in a class that extends EncryptionAuthenticationProcessingFilter.GrantedAuthority grantedAuthority = new SimpleGrantedAuthority("ROLE_CHECK");List<GrantedAuthority> authorities = new LinkedList<>();authorities.add(grantedAuthority);UserDetails ud = new User(user, "", authorities);final CustomJasperAuthenticationToken customJasperAuthenticationToken = new CustomJasperAuthenticationToken(ud, "");return this.getAuthenticationManager().authenticate(customJasperAuthenticationToken); - While accessing the jasper page it is showing "Access Denied" message. Am I missing something. Why it is showing access denied though admin privilege has been given.
×
×
  • Create New...