Thanks Ben On Thu, Dec 17, 2009 at 1:35 PM, Ben Short [via Jackrabbit] < [email protected]<ml-node%[email protected]> > wrote:
> Simer, > > Configure the repository to use the previously stated classes and then > just call the method. > > Ben > > 2009/12/17 anand <[hidden > email]<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=965820&i=0>>: > > > > > > 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. > > > > > ------------------------------ > View message @ http://n4.nabble.com/Derby-tp955014p965820.html > To unsubscribe from Re: Derby, click here< (link removed) =>. > > > -- View this message in context: http://n4.nabble.com/Derby-tp955014p965834.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
