[
https://issues.apache.org/jira/browse/SLING-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660131#comment-14660131
]
Bertrand Delacretaz commented on SLING-4930:
--------------------------------------------
Implemented in revision 1694513, /system/console/status-serviceusers produces a
text listing and /system/console/status-serviceusers.json a JSON listing with
the following format:
{code}
{
"title": "Service User Mappings",
"mappingsCount": 3,
"uniqueUsersCount": 2,
"rawMappings": [
{
"user": "oauthservice",
"subServiceName": null,
"serviceName": "some.oauth.server"
},
{
"user": "oauthservice",
"subServiceName": "user-reader",
"serviceName": "my-project-commons-oauth"
},
{
"user": "another-user",
"subServiceName": "ugc-writer",
"serviceName": "my.other.module"
}
],
"mappingsByUser": {
"another-user": [
{
"user": "another-user",
"subServiceName": "ugc-writer",
"serviceName": "my.other.module"
}
],
"oauthservice": [
{
"user": "oauthservice",
"subServiceName": null,
"serviceName": "some.oauth.server"
},
{
"user": "oauthservice",
"subServiceName": "user-reader",
"serviceName": "my-project-commons-oauth"
}
]
}
}
{code}
> InventoryPrinter for Service User Mappings
> ------------------------------------------
>
> Key: SLING-4930
> URL: https://issues.apache.org/jira/browse/SLING-4930
> Project: Sling
> Issue Type: Improvement
> Components: Service User Mapper
> Affects Versions: Service User Mapper 1.2.0
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Service User Mapper 1.2.2
>
>
> There's currently no simple way to list the configured service user mappings
> - we should provide an InventoryPrinter to be able to get that info from the
> OSGi console.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)