Skip to content

Commit

Permalink
corection
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeorgilakis-grnet committed Mar 19, 2024
1 parent bc657d6 commit 71da52b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void createDefault(GroupModel group, String groupName, String realmId) {
String membershipExpirationDaysDefault = configurationRulesList.stream().filter(x -> "membershipExpirationDays".equals(x.getField())).findAny().orElse(new GroupEnrollmentConfigurationRulesEntity()).getDefaultValue();
if (membershipExpirationDaysDefault != null)
entity.setMembershipExpirationDays(Long.valueOf(membershipExpirationDaysDefault));
String aupDefault = configurationRulesList.stream().filter(x -> "aupEntity.url".equals(x.getField())).findAny().orElse(new GroupEnrollmentConfigurationRulesEntity()).getDefaultValue();
String aupDefault = configurationRulesList.stream().filter(x -> "aupEntity".equals(x.getField())).findAny().orElse(new GroupEnrollmentConfigurationRulesEntity()).getDefaultValue();
if (aupDefault != null) {
GroupAupEntity aup = new GroupAupEntity();
aup.setId(KeycloakModelUtils.generateId());
Expand Down

0 comments on commit 71da52b

Please sign in to comment.