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

sanat_1

Members
  • Posts

    1
  • Joined

  • Last visited

sanat_1's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  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...