You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/04/14 14:16:50 UTC
[jira] Resolved: (JCR-2603) DefaultLoginModule performs anonymous
login in case of unsupported Credentials implementation
[ 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