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

Felix Meschberger commented on SLING-1280:
------------------------------------------

Renamed the methods in the Commons Auth bundle in Rev. 897156

> Rename methods of (new) AuthenticationHandler interface
> -------------------------------------------------------
>
>                 Key: SLING-1280
>                 URL: https://issues.apache.org/jira/browse/SLING-1280
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons, Extensions
>    Affects Versions: Extensions OpenID Authentication 1.0.0, Extensions 
> httpauth 2.0.6, Commons Auth 1.0.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Extensions OpenID Authentication 1.0.0, Extensions 
> httpauth 2.0.6, Commons Auth 1.0.0
>
>
> Currently the AuthenticationHandler interface defines the following methods:
>    authenticate - extract credentials from request
>    requestAuthentication - ask client for credentials
>    dropAuthentication - forget about current credentials
> The authenticate and requestAuthentication names are historic and date back 
> to some internal code at the time where uthenticationHandler did not exist 
> yet.
> IMHO these names are not that good. And since we are defining new API anyway, 
> this might probaby be a good time to rename the methods.
>    extractCredentials - extract credentials from request
>    requestCredentials - ask client for credentials
>    dropCredentials - forget about current credentials
> See also the discussion at http://markmail.org/thread/bocbtx2q5js4i2gf

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