WrenSecurity / wrenam

Community fork of OpenAM, an authentication and authorization system originally developed by ForgeRock.
Other
43 stars 27 forks source link

Delete DefaultUrlResourceTypeGenerator that causes replication errors in HA environments (#114). #115

Closed karelmaxa closed 1 year ago

karelmaxa commented 1 year ago

I deleted the DefaultUrlResourceTypeGenerator because it causes replication error when creating realm in HA environment (two nodes with Wren:DS replication). Actually the class is not necessary because the resource type definition is still created in the root realm (see entitlement.xml#L459).

With this change, the resource type definition is not copied from the root realm to the other created realms. But I think this is fine. Users should configure the resource types in their realms according to their needs.