You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/08/11 15:49:46 UTC

[jira] [Commented] (SLING-3854) Add configuration option to restrict service user mapper to system users

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

Konrad Windszus commented on SLING-3854:
----------------------------------------

I don't see the configuration option to disable that functionality. Was that deliberately left out? If I intentionally want to use regular users as service users I now have to implement my own {{ServiceUserValidator}} which returns {{true}} for {{isValid(...)}}. Wouldn't a simple OSGi flag on the service user mapper be better to not enforce that check?

> Add configuration option to restrict service user mapper to system users
> ------------------------------------------------------------------------
>
>                 Key: SLING-3854
>                 URL: https://issues.apache.org/jira/browse/SLING-3854
>             Project: Sling
>          Issue Type: Improvement
>          Components: Service User Mapper
>            Reporter: angela
>            Assignee: Antonio Sanso
>             Fix For: Service User Mapper 1.1.0, JCR Resource 2.5.0
>
>         Attachments: SLING-3854-patch2.txt, SLING-3854.patch
>
>
> JCR-3802 introduces the concept of system users that distinct from regular user accounts and never have a password set. the API extensions include to following ability to discover if a given User is actually a system user: {{User.isSystemUser}}.
> It would be good if the service user mapping had a configuration option that would restrict the mapping to dedicated service users i.e. to users which are defined to be system users in case sling is running on a JCR repository that implements jackrabbit API.



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