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.

Reply via email to