You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/11/08 07:58:58 UTC

[jira] [Comment Edited] (SLING-6219) Allow to create users with repoinit

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

Bertrand Delacretaz edited comment on SLING-6219 at 11/8/16 7:57 AM:
---------------------------------------------------------------------

The encoding is meant to be used to provide passwords like 

{code}
{SHA-256}dc460da4....
{code}

as mentioned by Robert above, where SHA-256 would be the encoding.

I think it's fine to keep it in the grammar for now and aim for supporting it as soon as we can - but it's also easy to disable in the grammar - http://svn.apache.org/rsvn.apache.org/r1768509 should give a good idea of how that works.


was (Author: bdelacretaz):
The encoding is meant to be used to provide passwords like {SHA-256}dc460da4....as mentioned by Robert above, where SHA-256 would be the encoding.

I think it's fine to keep it in the grammar for now and aim for supporting it as soon as we can - but it's also easy to disable in the grammar - http://svn.apache.org/rsvn.apache.org/r1768509 should give a good idea of how that works.

> Allow to create users with repoinit
> -----------------------------------
>
>                 Key: SLING-6219
>                 URL: https://issues.apache.org/jira/browse/SLING-6219
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR, Repoinit
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Repoinit Parser 1.0.4, Repoinit JCR 1.0.4
>
>
> it seems it's not possible to create a user through the repoinit. 
> This would be very useful for sample apps and testing. For example, the
> slingshot sample app currently needs an admin user to create the sample
> user accounts. And therefore slingshot needs to be in the whitelist for
> admin usage - which is not a good thing
> I suggest we add:
> create user {name}
> create user {name} {password}
> delete user {name}
> If no pw is provided for create user, we create a random pw



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