Simer,

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

Ben

2009/12/17 anand <[email protected]>:
>
> 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.
>

Reply via email to