jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simer anand <simer.anan...@gmail.com>
Subject Re: UserManager Bean confi Doesn't exits in repository.xml
Date Tue, 01 Dec 2009 10:24:05 GMT
On Tue, Dec 1, 2009 at 2:46 PM, Thomas Müller <thomas.mueller@day.com>wrote:

> Hi,
>
> Sorry, why did you add this to the repository.xml?
>
>       <UserManager
> class="org.apache.jackrabbit.core.security.user.UserManagerImpl">
>       </UserManager>
>
> Did somebody tell you to? Do you have a link?
>
> Regards,
> Thomas
>
> On Tue, Dec 1, 2009 at 10:22 AM, simer anand <simer.anand88@gmail.com>
> wrote:
> > On Tue, Dec 1, 2009 at 2:13 PM, Thomas Müller <thomas.mueller@day.com
> >wrote:
> >
> >> Hi,
> >>
> >> Could you post the complete repository.xml file?
> >>
> >> Regards,
> >> Thomas
> >>
> >>
> > Hello Thomas,
> >
> >  *<?xml* version="1.0"*?>*
> > **
> > *   *
> > *<!DOCTYPE *Repository PUBLIC "-//The Apache Software Foundation//DTD
> > Jackrabbit 1.5//EN"
> >
> > "http://jackrabbit.apache.org/dtd/repository-1.5.dtd"*>*
> > **
> > *<Repository>*
> >
> >    *<FileSystem*
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"*>*
> >        *<param* name="path" value="${rep.home}/repository"*/>*
> >    *</FileSystem>*
> >
> >    *<Security* appName="Jackrabbit"*>*
> >
> >        *<SecurityManager*
> > class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
> > workspaceName="security"*>*
> >
> >        *</SecurityManager>*
> >
> >
> >        *<AccessManager* class="auth.SimpleAccessManager"*>*
> >
> >        *</AccessManager>*
> >
> >        *<LoginModule* class="sample.module.SampleLoginModule"*>*
> >        *</LoginModule>*
> >
> >
> >        *<UserManager*
> > class="org.apache.jackrabbit.core.security.user.UserManagerImpl"*>*
> >        *</UserManager>*
> >    *</Security>*
> >
> >
> >    *<Workspaces* rootPath="${rep.home}/workspaces"
> > defaultWorkspace="default"*/>*
> >    *<Workspace* name="${wsp.name}"*>*
> >
> >        *<FileSystem*
> > class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"*>*
> >            *<param* name="path" value="${wsp.home}"*/>*
> >        *</FileSystem>*
> >
> >        *<PersistenceManager*
> >
> class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager"*>*
> >          *<param* name="url"
> value="jdbc:derby:${wsp.home}/db;create=true"*/>*
> >          *<param* name="schemaObjectPrefix" value="${wsp.name}_"*/>*
> >        *</PersistenceManager>*
> >
> >        *<SearchIndex*
> > class="org.apache.jackrabbit.core.query.lucene.SearchIndex"*>*
> >            *<param* name="path" value="${wsp.home}/index"*/>*
> >            *<param* name="textFilterClasses"
> >
> value="org.apache.jackrabbit.extractor.PlainTextExtractor,org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.jackrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extractor.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtractor,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.jackrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTMLTextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"*/>*
> >            *<param* name="extractorPoolSize" value="2"*/>*
> >            *<param* name="supportHighlighting" value="true"*/>*
> >        *</SearchIndex>*
> >    *</Workspace>*
> >
> >
> >    *<Versioning* rootPath="${rep.home}/version"*>*
> >
> >        *<FileSystem*
> > class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"*>*
> >            *<param* name="path" value="${rep.home}/version" */>*
> >        *</FileSystem>*
> >
> >        *<PersistenceManager*
> >
> class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager"*>*
> >          *<param* name="url"
> > value="jdbc:derby:${rep.home}/version/db;create=true"*/>*
> >          *<param* name="schemaObjectPrefix" value="version_"*/>*
> >        *</PersistenceManager>*
> >    *</Versioning>*
> >
> >
> >    *<SearchIndex*
> > class="org.apache.jackrabbit.core.query.lucene.SearchIndex"*>*
> >        *<param* name="path" value="${rep.home}/repository/index"*/>*
> >        *<param* name="textFilterClasses"
> >
> value="org.apache.jackrabbit.extractor.PlainTextExtractor,org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.jackrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extractor.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtractor,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.jackrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTMLTextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"*/>*
> >        *<param* name="extractorPoolSize" value="2"*/>*
> >        *<param* name="supportHighlighting" value="true"*/>*
> >    *</SearchIndex>*
> > *</Repository>*
> >
>

Hello Thomas,

Yeah i was told to configure the UserManager under SecurityManager in
configuration file in order to create new users.
I have classes that connects to repository using RMI and also passing
session to SessionImpl class in order to use createUser() method to add new
Users.

Correct me.

Thanks,
simer

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