[overlord-issues] [JBoss JIRA] (RTGOV-614) Reinstate security context for RTGov UI backend services

Gary Brown (JIRA) issues at jboss.org
Thu Nov 13 06:16:29 EST 2014


Gary Brown created RTGOV-614:
--------------------------------

             Summary: Reinstate security context for RTGov UI backend services
                 Key: RTGOV-614
                 URL: https://issues.jboss.org/browse/RTGOV-614
             Project: RTGov (Run Time Governance)
          Issue Type: Task
            Reporter: Gary Brown
            Assignee: Gary Brown
             Fix For: 2.1.0.Final


As part of moving from Errai RPC services to JAX-RS services (RTGOV-610), security context (identifying the user principal) has been disabled, as this was provided via the Errai bus at the backend.

Adding SecurityContext to the REST services causes issues with the RTGov UI, as the same interface is used by the GWT/Errai client.

One workaround would be to have two versions of the service interface, one pure and the other with the @Context SecurityContext parameter in the relevant methods. However this is not ideal. Need to see whether there is any other standard way to get the SecurityContext, and if not, consider whether using a filter may provide a better solution.




--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the overlord-issues mailing list