You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2022/09/14 19:43:00 UTC

[jira] [Commented] (SLING-11583) Allow custom decoration of the login event properties

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

Eric Norman commented on SLING-11583:
-------------------------------------

PR #12 contains the proposed changes for review and feedback

> Allow custom decoration of the login event properties
> -----------------------------------------------------
>
>                 Key: SLING-11583
>                 URL: https://issues.apache.org/jira/browse/SLING-11583
>             Project: Sling
>          Issue Type: New Feature
>          Components: Authentication
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Auth Core 1.5.8
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The use case here is to provide additional details about the remote user in the login event properties.  The consumer of the login events may use this additional information to do extra work.   For example, sending the user a security alert if the login originated from a  location/browser that has not been encountered before.
> Expected:
> Supply a new LoginEventDecorator interface in auth.core that components may implement to supply custom code to decorate the event properties.  The SlingAuthenticator would then delegate to those components to do the extra work before sending the login event.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)