jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anand <simer.anan...@gmail.com>
Subject Re: Derby
Date Thu, 17 Dec 2009 08:54:53 GMT

Thanks Ben

On Thu, Dec 17, 2009 at 1:35 PM, Ben Short [via Jackrabbit] <
ml-node+965820-438124116@n4.nabble.com<ml-node%2B965820-438124116@n4.nabble.com>
> 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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message