Hi, In /WEB-INF/config/default/magnolia.properties, i have :
magnolia.connection.jcr.userId = admin magnolia.connection.jcr.password = admin while to login to http://localhost:9080/magnoliaAuthor/ , i use superuser/superuser as the credentials. What's the difference between these, and which one should i use if i'm trying to access the repository using Session session1 = repo.login(new SimpleCredentials(id,pw.toCharArray())); My intent is to manage the content using magnoliaAuthor and access (read-only) from another webapp using JCR API only Magnolia - User mailing list wrote: > > This has changed with 3.5 and you need: > magnolia.bootstrap.authorInstance=false > in the public instance's properties. > > Please see the default properties in the empty-webapp for reference: > http://svn.magnolia.info/view/magnolia/tags/magnolia-3.5.4/magnolia- > empty-webapp/src/main/webapp/WEB-INF/config/ > > hth, > > -g > > On Feb 13, 2008, at 13:28 , Martin Breuer wrote: > >> >> Hey List, >> >> i updated yesterday to 3.5.4 CE and started with empty repository >> (an no >> file to bootstrap). >> If I start now my public instance, its like an author instance (after >> installer)... I need to login to view pages etc. >> >> My magnolia.properties: >> ------ >> magnolia.cache.startdir=cache >> magnolia.upload.tmpdir=tmp >> magnolia.exchange.history=history >> magnolia.repositories.config=WEB-INF/config/default/repositories.xml >> magnolia.repositories.home=repositories >> magnolia.repositories.jackrabbit.config=WEB-INF/config/repo-conf/ >> jackrab >> bit-bdb-search.xml >> >> log4j.config=WEB-INF/config/default/log4j.xml >> magnolia.root.sysproperty=magnolia.root >> >> magnolia.bootstrap.dir=WEB-INF/bootstrap/public WEB-INF/bootstrap/ >> common >> >> magnolia.bootstrap.ifEmpty=config >> >> magnolia.bootstrap.force= >> >> magnolia.develop=true >> >> magnolia.connection.jcr.userId = user >> magnolia.connection.jcr.password = password >> >> magnolia.server.id = public >> ---------- >> >> And a second one: >> ------- >> magnolia.root.sysproperty=magnolia.root.public >> magnolia.bootstrap.dir=WEB-INF/bootstrap/public WEB-INF/bootstrap/ >> common >> ------- >> >> What do I miss here? Afaik the only thing to trigger the instance >> to be >> public is the magnolia.server.id which is set to public... >> >> Thanks >> >> ---------------------------------------------------------------- >> for list details see >> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >> ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > > Quoted from: http://www.nabble.com/Re%3A-public-instance-behaves-like-author-instance-tp15457455p15457455.html ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
