jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2603) DefaultLoginModule performs anonymous login in case of unsupported Credentials implementation
Date Wed, 14 Apr 2010 12:16:50 GMT

     [ https://issues.apache.org/jira/browse/JCR-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

angela resolved JCR-2603.
-------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

moved the test for supported credentials from AbstractLoginModule#getCredentials to the calling
#login method.

> DefaultLoginModule performs anonymous login in case of unsupported Credentials implementation
> ---------------------------------------------------------------------------------------------
>
>                 Key: JCR-2603
>                 URL: https://issues.apache.org/jira/browse/JCR-2603
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0.0
>            Reporter: angela
>            Assignee: angela
>             Fix For: 2.2.0
>
>
> If Repository.login in called with an unsupported Credentials implementation the DefaultLoginModule#getCredentials
returns null
> and thus an anonymous login. The expected behavior from my point of view however was,
that login with unsupported credentials 
> would not be handled by the LoginModule and - if no other module is able to handle it
-  login would consequently fails.

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

        

Mime
View raw message