Closed yuriyz closed 7 years ago
@yuriyz I checked the ldap and found we have 2 similar ou i.e resource_set and resource. Presenlty the Uma>resources is implemented for ou=resources not for resource_set.
object class for resources is oxUmaResource and for resource_set is oxAuthUmaResourceSet. So are we replacing resources with resource_set and there respective classes. And oxAuthUmaResourceSet object class is not declared in gluu.schema. Please let me know.
In UMA 2 we have 'resource' name instead of 'resource set' as it was in UMA 1.0.1. So now we are using ou=resources and oxUmaResource. ou=resource_sets and oxAuthUmaResourceSet is removed.
Also I hope u are reusing oxauth ldap classes instead of duplicating. For uma resource it is https://github.com/GluuFederation/oxAuth/blob/version_3.1.0/Model/src/main/java/org/xdi/oxauth/model/uma/persistence/UmaResource.java#L24-24
Fixed.
@shekhar16 fix is not in version_3.1.1
branch. Please merge or cherry-pick.
its working on 3.1.1 version.
https://support.gluu.org/access-management/4480/cannot-add-resource-or-resource_set-in-uma2/#at25249