We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ace93b + 74802f8 commit a236a80Copy full SHA for a236a80
oxTrust/server/src/main/java/org/gluu/oxtrust/action/UpdateAttributeAction.java
@@ -279,6 +279,13 @@ public String saveImpl() {
279
return OxTrustConstants.RESULT_VALIDATION_ERROR;
280
}
281
282
+ if (attribute.getSaml1Uri() == null || attribute.getSaml1Uri().equals("")) {
283
+ attribute.setSaml1Uri("urn:gluu:dir:attribute-def:" + attributeName);
284
+ }
285
+ if (attribute.getSaml2Uri() == null || attribute.getSaml2Uri().equals("")) {
286
+ attribute.setSaml2Uri("urn:oid:" + attributeName);
287
288
+
289
attributeService.updateAttribute(this.attribute);
290
oxTrustAuditService.audit(
291
"ATTRIBUTE " + this.attribute.getInum() + " **" + this.attribute.getDisplayName()
0 commit comments