jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandar Stoev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3359) spi2dav authentication missing
Date Tue, 26 Jun 2012 09:57:42 GMT
Aleksandar Stoev created JCR-3359:
-------------------------------------

             Summary: spi2dav authentication missing
                 Key: JCR-3359
                 URL: https://issues.apache.org/jira/browse/JCR-3359
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-spi2dav
    Affects Versions: 2.4
         Environment: any
            Reporter: Aleksandar Stoev


Hello,

I'm trying to configure remote repository over davex and am able to connect agains the default
standalone jackrabbit or webapp.
The problem comes when I try to configure repository security. I have configured custom loginModule
(implementation of org.apache.jackrabbit.core.security.authentication.AbstractLoginModule).
Login module works fine with the RMI remoting layer. Accessing /server context in browser
triggers authentication and I'm able to log in, but no such option in the API. With the RMI
API I am used to get Repository instance and credentials are needed when Session object is
requested. Here the credentials are required infront and there is no way to specify credentials
(in JcrUtils.getRepository) or it is not documented.  org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getRepositoryDescriptors
uses getClient(null) that causes in no credentials supplied to the HttpClient and org.apache.jackrabbit.webdav.DavException:Unauthorized.

Regards,
Aleksandar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message