Package org.keycloak.models.jpa.entities
Class CompositeRoleEntity
java.lang.Object
org.keycloak.models.jpa.entities.CompositeRoleEntity
Manage compmosite role relations.
This used to be a @ManyToMany relation in RoleEntity, and before that there was a native query which lead to stale entities.
After those attempts, this is now a separate table that avoids iterating over a lot of parents their entries by applying a simple JPA deletion.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetChildRole(RoleEntity childRole) voidsetParentRole(RoleEntity parentRole)