[
https://issues.apache.org/jira/browse/KARAF-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004771#comment-16004771
]
Doug DeJulio commented on KARAF-3270:
-------------------------------------
I had to implement this for my own use while trying to get our complicated
authn/authz setup working. I got permission from my employer to share my work.
Done as a standalone plugin, it's currently here:
https://github.com/dfjdejulio/karaf-whoami
I'd be willing to turn that into a pull request for Karaf, given guidance on
the best way to go about that.
> Add command/MBean operation to give current user and his roles
> --------------------------------------------------------------
>
> Key: KARAF-3270
> URL: https://issues.apache.org/jira/browse/KARAF-3270
> Project: Karaf
> Issue Type: New Feature
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
>
> When logged on with an user (on the local console, ssh, MBean), it would be
> great to get the current username (even if we have in the prompt and in the
> console session), but also with current user roles.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)