That should be all. But it only works on recent versions of the nuxeo 5.1 branch, and you haven't told us what version you use for this test.

Florent

On 19 Dec 2007, at 15:25, [EMAIL PROTECTED] wrote:


Hello,

By browsing SVN, I found nuxeo-platform-login-anonymous addon.

I created a build.xml and build.properties

There was 3 xml files :
actions-contrib.xml
anonymous-login-contrib.xml
deployment-fragment.xml

Based on Sample-Anonymous-Config-bundle.xml example file, I created and anonymous-contrib.xml file (declared in manifest) with this content :

<?xml version="1.0"?>

<component name="anonymous.auth.activation">


  <require>org.nuxeo.ecm.platform.ui.web.auth.defaultConfig</require>

  <require>org.nuxeo.ecm.platform.login.anonymous</require>


  <!-- Include Anonymous Auth into authentication chain -->

  <extension

target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService "

    point="chain">

    <authenticationChain>

      <plugins>

        <plugin>BASIC_AUTH</plugin>

        <plugin>ANONYMOUS_AUTH</plugin>

        <plugin>FORM_AUTH</plugin>

      </plugins>

    </authenticationChain>

  </extension>


  <!-- uncomment this block to add the Anonymous user

if you don't already have a userManager specific configuration -->

<extension target="org.nuxeo.ecm.platform.usermanager.UserService" point="userManager">

    <userManager>

      <users>

        <anonymousUser id="Guest">

          <property name="first">Anonymous</property>

          <property name="last">Coward</property>

        </anonymousUser>

      </users>

    </userManager>

  </extension>


</component>



Is there anything else to do to have an anonymous access ?

Thank you._______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to