jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <...@benshort.co.uk>
Subject Re: Derby
Date Thu, 17 Dec 2009 08:34:33 GMT
Simer,

Configure the repository to use the previously stated classes and then
just call the method.

Ben

2009/12/17 anand <simer.anand88@gmail.com>:
>
> Hello Ben,
>
>
> Ben Short wrote:
>>
>> Jackrabbit 2 has all this done for you already.
>>
>> configure your repository to use the following classes
>>
>> org.apache.jackrabbit.core.security.DefaultAccessManager
>> org.apache.jackrabbit.core.security.authentication.DefaultLoginModule
>> org.apache.jackrabbit.core.DefaultSecurityManager
>>
>> Then
>>
>> UserManager um = ((JackrabbitSession)session).getUserManager();
>>
>> User user = um.createUser("user", "password");
>>
>
>
> In order to create user using above method createUser("user","password"); in
> jackrabbit 2.0
> we need to provide inner logic to this method or just call it
> providing parameters.
>
> Thanks
> simer
>
>
> --
> View this message in context: http://n4.nabble.com/Derby-tp955014p965767.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Mime
View raw message