[ 
https://issues.apache.org/jira/browse/QPID-7303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374645#comment-15374645
 ] 

Keith Wall edited comment on QPID-7303 at 7/13/16 1:52 PM:
-----------------------------------------------------------

We decided we would implement this by adding two managed operations oo the 
Broker:

* {{Principal getUser()}} - returns authenticated principal 
* {{List<Principal> getGroups()}} - returns all principals that are 
GroupPrincipals.

Change WMC to call these two new operations.



was (Author: k-wall):
We decided we would implement this by adding two managed operations oo the 
Broker:

* Principal getUser() - returns authenticated principal 
* List<Principal> getGroups() - returns all principals that are GroupPrincipals.

Change WMC to call these two new operations.


> [Java Broker] Add operation returning the authenticated user principal and 
> groups
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-7303
>                 URL: https://issues.apache.org/jira/browse/QPID-7303
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Alex Rudyy
>             Fix For: qpid-java-6.1
>
>         Attachments: 0001-Add-Whoami-servlet.patch
>
>
> Information about authenticated user groups should be available to the user 
> via special REST service.
> These new REST API is required for implementation of query and dashboard 
> sharing functionality: user should be able to share queries/dashboards among 
> groups he/she belongs to.
> AP I should  provide information about logged user (who am I):
> * name
> * groups
> *  it can be extended later to provide moreuser  details



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to