[ 
https://issues.apache.org/jira/browse/SLING-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-1783.
--------------------------------------

    Fix Version/s: Auth Selector 1.0.2
       Resolution: Fixed

Defined a new constant AuthenticationHandler.FAILURE_REASON with value 
"j_reason" for authentication handlers and authentication feedback handlers to 
provide information on the reasons for authentication failure to any downstream 
AuthenticationHandler.requestCredentials method.

> Officialize j_reason request attribute
> --------------------------------------
>
>                 Key: SLING-1783
>                 URL: https://issues.apache.org/jira/browse/SLING-1783
>             Project: Sling
>          Issue Type: Improvement
>          Components: Authentication
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: OpenID Authentication 1.0.2, Form Based Authentication 
> 1.0.2, Auth Selector 1.0.2, Auth Core 1.0.4
>
>
> The OpenID and Form Based Authentication handler currently set the j_reason 
> request attribute to convey to the login form why authentication has failed.
> It would make sense to "officialize" this back channel by defining this 
> attribute can be returned by the AuthenticationHandler if credential 
> extraction fails or by the AuthenticationFeedbackHandler if it can provide 
> more information on the failed authentication.

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