Package org.keycloak.userprofile
Interface AttributeChangeListener
-
- All Known Implementing Classes:
EventAuditingAttributeChangeListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AttributeChangeListener
Interface of the user profile attribute change listener.- Author:
- Vlastimil Elias
- See Also:
UserProfile.update(boolean, AttributeChangeListener...)
,UserProfile.update(AttributeChangeListener...)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onChange(String name, UserModel user, List<String> oldValue)
Method called for each user attribute change.
-
-
-
Method Detail
-
onChange
void onChange(String name, UserModel user, List<String> oldValue)
Method called for each user attribute change.- Parameters:
name
- of the changed user attributeuser
- model where new attribute value is applied already (can be null if attribute is removed)oldValue
- of the attribute before the change (can be null)
-
-