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

Carsten Ziegeler resolved SLING-3905.
-------------------------------------
    Resolution: Fixed

Thanks for your patch Dominique. I've applied it with a minor addition: the 
package version is increased to 1.1.0 (new api) and the failure reason is set 
to a value if the password expired (if no reason is specified yet)

> Support Password Expired In Sling Authenticator
> -----------------------------------------------
>
>                 Key: SLING-3905
>                 URL: https://issues.apache.org/jira/browse/SLING-3905
>             Project: Sling
>          Issue Type: New Feature
>          Components: Authentication
>            Reporter: Dominique Jäggi
>            Assignee: Carsten Ziegeler
>             Fix For: Auth Core 1.1.10
>
>         Attachments: pw_expiry_sling.patch
>
>
> With the added support for password expiry and password change on initial 
> login (see OAK-1922) the sling authenticator needs to be enhanced in order to 
> support additional login states, such as "password expired". these states can 
> later be evaluated by login handlers, e.g. redirecting to appropriate change 
> password locations.
> the attached patch introduces an enum for login state reason codes and sets 
> the code during handle login failure depending on the login state.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to