Hi,

I'm trying to adapt my bundles from Sling3 to Sling5. In Sling3 I got
anonymous post by changing the "anonymousID=anonymous" property in the
repository.xml file. If I am not wrong, by default JCR allowed anonymous
post from any user except from it was specified by that property. So, in
order to allow anonymous post I changed it to, for example,
"anonymousID=anonymousModified".
And it worked.

But now, I'm doing the same and I receive the following message:

org.apache.sling.engine.impl.auth.SlingAuthenticator getCredentials: no
handler could extract credentials
org.apache.sling.engine.impl.auth.SlingAuthenticator authenticate: no
credentials in the request, anonymous
org.apache.sling.jcr.jackrabbit.server login: Logging in to workspace
'default'
org.apache.sling.jcr.base.internal.SessionPool getFromPool: No idle session
in pool
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule
Initalize LoginModule:
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule -
PrincipalProvider ->
'org.apache.jackrabbit.core.security.principal.DefaultPrincipalProvider'
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule -
UserManager -> 'org.apache.jackrabbit.core.security.user.UserManagerImpl'
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule -
Option: anonymousId -> 'anonymousmodified'
org.apache.jackrabbit.core.security.authentication.AbstractLoginModule -
Option: adminId -> 'admin'
org.apache.jackrabbit.core.ItemManager caching item
0b2f6efd-3e09-4c73-9593-d59d9aed6a9f
org.apache.jackrabbit.core.ItemManager caching item
0b2f6efd-3e09-4c73-9593-d59d9aed6a9f/{internal}userId
org.apache.jackrabbit.core.ItemManager caching item
0b2f6efd-3e09-4c73-9593-d59d9aed6a9f/{internal}principalName
org.apache.jackrabbit.core.ItemManager caching item
0b2f6efd-3e09-4c73-9593-d59d9aed6a9f/{internal}password
org.apache.sling.engine.impl.auth.SlingAuthenticator authenticate: Unable to
authenticate: null
org.apache.sling.engine.impl.auth.SlingAuthenticator requestAuthentication:
requesting authentication using handler:
org.apache.sling.engine.impl.auth.slingauthenticator$authenticationhandleri...@154fc43
org.mortbay.jetty RESPONSE 403
org.mortbay.jetty EOF

Is there any change about allowing anonymous post in this new version? or
maybe the change is in apache jackrabbit 1.5.0?

Thanks!

Reply via email to