Announcement Announcement Module
Collapse
No announcement yet.
Map JAAS Principals to Spring Security Model Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Map JAAS Principals to Spring Security Model

    Dear all,

    I am trying to integrate JasperServer which uses Spring Security into our Web Application that uses JAAS. I have configured the JaasAuthenticationProvider and wrote my LoginModule. Authentication works. The LoginModule creates a javax.security.auth.Subject object that holds a set of Principals. The principals are of course programmed to interfaces of our web application, JasperServer does not know them.

    Now in JasperServer the users have an organizationId (tenantId). I do not seem to understand how I can pass an organization id to Spring. I can create a principal organization to my Subject but JasperServer will not know about it.

    Similar question about roles but I guess that is what the authority granter is for, I have not tried it yet.

    Thanks
    K
Working...
X