[ 
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.

Reply via email to