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/07/27 16:16:18 UTC

[jira] Issue Comment Edited: (SLING-1575) Authentication API and Handler Improvements

    [ https://issues.apache.org/jira/browse/SLING-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892789#action_12892789 ] 

Felix Meschberger edited comment on SLING-1575 at 7/27/10 10:15 AM:
--------------------------------------------------------------------

In Rev. 979706/979707 removed the @scr tags from the AbstractAuthenticationFormServlet. Implementations of this abstract class should setup themselves for SCR descriptor generation. This is in line with the AbstractAuthenticationHandler which also does not have the tags.

In Rev. 979711 added the @scr.service tag to the form servlets. In addition the AbstractAuthenticationHandler property name references have to be fully qualifed for the SCR plugin to find the class defining the constant.

      was (Author: fmeschbe):
    In Rev. 979706/979707 removed the @scr tags from the AbstractAuthenticationFormServlet. Implementations of this abstract class should setup themselves for SCR descriptor generation. This is in line with the AbstractAuthenticationHandler which also does not have the tags.
  
> Authentication API and Handler Improvements
> -------------------------------------------
>
>                 Key: SLING-1575
>                 URL: https://issues.apache.org/jira/browse/SLING-1575
>             Project: Sling
>          Issue Type: Improvement
>          Components: API, Commons, Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons Auth 1.0.0, API 2.1.0
>
>
> Proposing the following enhancement to the Commons Auth bundle as well as the two existing form based authentication handlers (Form Based Authentication Handler and OpenID Authentication Handler):
>   * Create a new o.a.sling.api.auth package with the Authenticator interface and the NoAuthenticationHandler exception
>   * Create an AbstractAuthenticationFormServlet and AbstractAuthenticationHandler in Commons Auth (o.a.sling.commons.auth.spi)
>   * Extend the form servlets in the Form and OpenID handlers from the abstract form servlet
>   * Extend the authentication handlers from the abstract handler
> The new o.a.sling.api.auth package is the current o.a.sling.commons.auth package without the AuthenticationSupport interface. The reason for this is, that the Authenticator interface can be used by Sling applications to request users to login. The AuthenticationSupport interface on the other hand is closed tied into the Commons Auth implementation and is not generally used by Sling Applications.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.