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 06:10:11 GMT

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