hi,
i never looked into it, seems you are right :-O
i was not aware of that...
i think the questions how jackrabbit does things would best be asked on
the jackrabbit mailinglist.
regarding commands, dan leech added a phpcr:node:touch command recently
that can create / modify nodes from the command line. having a command
for the users stored in phpcr that allows to manage users and groups
would be cool too.
are you using just phpcr or phpcr in a symfony project? if the later,
note that with the phcpr-odm we so far did not do individual connections
- though that could certainly be interesting. i will do a PR soon to
make FOSUserBundle support phpcr. we should optionally allow to make
those users repository logins at the same time. if you want to
investigate what the format and options the DefaultLoginModule nodes
have, that would be awesome.
cheers,david
Am 29.04.2013 16:34, schrieb Elias Asfaw-Kirby:
> Thanks David,
>
> Oddly I'm glad to know I'm not the only one suffering from Jackrabbits
> bad defaults... I also was thinking of simply blocking the port that it
> ran on.
>
> In regards to passwords, I'm fairly certain there are no user passwords
> in the repository.xml file (only those for database and such). I
> believe when:
> - SimpleLoginModule is used, then any username and password combination
> works. If you happen to use "admin" username then you get admin access.
> If you use anonymous, you get read-only. Otherwise you are normal
> meaning read/write access.
> - If DefaultLoginModule is used... then usernames and passwords are kept
> in the repository... see image below. BTW, when I changed the config
> from SimpleLoginModule to DefaultLoginModule, it automatically crated
> those nodes in root.
>
> If this is wrong, and you actually have password in xml file, please
> please send me the config (structure).
> Inline image 1
>
> Best,
>
> Eli
>
>
> On Sat, Apr 27, 2013 at 5:01 AM, David Buchmann <
da...@liip.ch
> <mailto:
da...@liip.ch>> wrote:
>
> Hi,
> Afaik the passwords for jackrabbit are stored somewhere in the xml
> files of it, and not configurable trough the api. If you found a way
> in davex remoting to do it, we could add some command in
> jackalope-jackrabbit. I never changed those pw but just blocked the
> port of jackrabbit.
> Cheers David
>
> ----- Reply message -----
> Von: "Elias Asfaw-Kirby" <
elias...@gmail.com
> <mailto:
elias...@gmail.com>>
> An: <
jackal...@googlegroups.com
> <mailto:
jackal...@googlegroups.com>>
> Betreff: [Jackalope] are there phpcr utils to create (repository)
> user and change password
> Datum: Sa., Apr. 27, 2013 00:30
>
>
> Hello,
>
> I'm having a heck of a time trying to change the default
> username/password on jackrabbit (using the DefaultLoginModule and
> DefaultAccessManager)... without installing sling.
>
> I found some recommendations and partial code in java
> (
http://permalink.gmane.org/gmane.comp.apache.jackrabbit.user/16727) to
> do these two tasks, but then I thought, it would be a lot better if
> this is implemented in phpcr as utils.
>
> Is it possible to do? (fyi - on jackrabbit 2.6, I'm using the
> DefaultLoginModule and DefaultAccessManager.
>
> Has anybody started this process? Any tips or ideas?
>
> Thanks,
>
> Eli
>
> --
> You received this message because you are subscribed to the Google
> Groups "Jackalope" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
jackalope-de...@googlegroups.com
> <mailto:
jackalope-dev%2Bunsu...@googlegroups.com>.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
>
>
--
Liip AG // Agile Web Development // T
+41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B //
www.liip.ch