jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-72) Session.impersonate non-functional
Date Thu, 17 Mar 2005 08:21:20 GMT
Session.impersonate non-functional

         Key: JCR-72
         URL: http://issues.apache.org/jira/browse/JCR-72
     Project: Jackrabbit
        Type: Bug
  Components: API  
 Environment: Jackrabbit SVN Rev. 157914
    Reporter: Felix Meschberger
    Priority: Critical

Currently SessionImpl.impersonate simply calls Repository.login with the given credentials
and the workspace name of the session. If the credentials are incomplete in that the password
is missing, the method throws a "LoginException: Failed to authenticate userID", which is
actually a misleading text, as the reason is not failure to authenticate userID but at best
that the session has not enough access rights to impersonate as userID.

For my application, it is crucial, that Session.impersonate is implemented in the sense that
this method allows creation of a session with password-less credentials. I accept this method
to fail, but it should fail with a correct message.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message