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