You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/02/16 12:31:28 UTC
[jira] Created: (SLING-1380) LoginModulePlugin should not implement
getPrincipal method
LoginModulePlugin should not implement getPrincipal method
----------------------------------------------------------
Key: SLING-1380
URL: https://issues.apache.org/jira/browse/SLING-1380
Project: Sling
Issue Type: Bug
Components: Extensions
Reporter: Felix Meschberger
Assignee: Felix Meschberger
The LoginModulePlugin.getPrincipal method overrides the DefaultLoginModule.getPrincipal method to return a prinicipal for the authenticated user. The drawback when overwriting this is, that the DefaultLoginModule's implementation actually gets a Principal which is based on the Jackrabbit UserManager from the user name encoded in the Credentials object as returned by the getUserID(Credentials) method.
Since the Form Based Authentication uses a SimpleCredentials the DefaultLoginModule can cope with this and nothing more is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1380) LoginModulePlugin should not implement
getPrincipal method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-1380:
-------------------------------------
Fix Version/s: Extensions Form Based Authentication 1.0.0
> LoginModulePlugin should not implement getPrincipal method
> ----------------------------------------------------------
>
> Key: SLING-1380
> URL: https://issues.apache.org/jira/browse/SLING-1380
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Extensions Form Based Authentication 1.0.0
>
>
> The LoginModulePlugin.getPrincipal method overrides the DefaultLoginModule.getPrincipal method to return a prinicipal for the authenticated user. The drawback when overwriting this is, that the DefaultLoginModule's implementation actually gets a Principal which is based on the Jackrabbit UserManager from the user name encoded in the Credentials object as returned by the getUserID(Credentials) method.
> Since the Form Based Authentication uses a SimpleCredentials the DefaultLoginModule can cope with this and nothing more is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1380) LoginModulePlugin should not implement
getPrincipal method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-1380.
------------------------------------
Close after release
> LoginModulePlugin should not implement getPrincipal method
> ----------------------------------------------------------
>
> Key: SLING-1380
> URL: https://issues.apache.org/jira/browse/SLING-1380
> Project: Sling
> Issue Type: Bug
> Components: Authentication
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Form Based Authentication 1.0.0
>
>
> The LoginModulePlugin.getPrincipal method overrides the DefaultLoginModule.getPrincipal method to return a prinicipal for the authenticated user. The drawback when overwriting this is, that the DefaultLoginModule's implementation actually gets a Principal which is based on the Jackrabbit UserManager from the user name encoded in the Credentials object as returned by the getUserID(Credentials) method.
> Since the Form Based Authentication uses a SimpleCredentials the DefaultLoginModule can cope with this and nothing more is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1380) LoginModulePlugin should not
implement getPrincipal method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-1380.
--------------------------------------
Resolution: Fixed
Fixed in Rev. 910496.
> LoginModulePlugin should not implement getPrincipal method
> ----------------------------------------------------------
>
> Key: SLING-1380
> URL: https://issues.apache.org/jira/browse/SLING-1380
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Extensions Form Based Authentication 1.0.0
>
>
> The LoginModulePlugin.getPrincipal method overrides the DefaultLoginModule.getPrincipal method to return a prinicipal for the authenticated user. The drawback when overwriting this is, that the DefaultLoginModule's implementation actually gets a Principal which is based on the Jackrabbit UserManager from the user name encoded in the Credentials object as returned by the getUserID(Credentials) method.
> Since the Form Based Authentication uses a SimpleCredentials the DefaultLoginModule can cope with this and nothing more is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1380) LoginModulePlugin should not implement
getPrincipal method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-1380:
-------------------------------------
Component/s: Authentication
(was: Extensions)
> LoginModulePlugin should not implement getPrincipal method
> ----------------------------------------------------------
>
> Key: SLING-1380
> URL: https://issues.apache.org/jira/browse/SLING-1380
> Project: Sling
> Issue Type: Bug
> Components: Authentication
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Form Based Authentication 1.0.0
>
>
> The LoginModulePlugin.getPrincipal method overrides the DefaultLoginModule.getPrincipal method to return a prinicipal for the authenticated user. The drawback when overwriting this is, that the DefaultLoginModule's implementation actually gets a Principal which is based on the Jackrabbit UserManager from the user name encoded in the Credentials object as returned by the getUserID(Credentials) method.
> Since the Form Based Authentication uses a SimpleCredentials the DefaultLoginModule can cope with this and nothing more is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.