Package org.apache.sling.auth.core
Interface LoginEventDecorator
-
public interface LoginEventDecoratorComponents should implement this interface to customize properties in the Login and/or LoginFailed event
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voiddecorateLoginEvent(@NotNull HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull java.util.Map<java.lang.String,java.lang.Object> eventProperties)Called to allow the component to modify the login event propertiesdefault voiddecorateLoginFailedEvent(@NotNull HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull java.util.Map<java.lang.String,java.lang.Object> eventProperties)Called to allow the component to modify the login failed event properties
-
-
-
Method Detail
-
decorateLoginEvent
@NotNull default void decorateLoginEvent(@NotNull @NotNull HttpServletRequest request, @NotNull @NotNull AuthenticationInfo authInfo, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> eventProperties)Called to allow the component to modify the login event properties- Parameters:
request- the current requestauthInfo- the current authInfoeventProperties- the event properties to decorate
-
decorateLoginFailedEvent
@NotNull default void decorateLoginFailedEvent(@NotNull @NotNull HttpServletRequest request, @NotNull @NotNull AuthenticationInfo authInfo, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> eventProperties)Called to allow the component to modify the login failed event properties- Parameters:
request- the current requestauthInfo- the current authInfoeventProperties- the event properties to decorate
-
-