Skip to content

Commit

Permalink
fix bug; bump to 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFilipozzi committed Apr 9, 2024
1 parent 65f6926 commit 3cd6bc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
package com.github.lucafilipozzi.keycloak.authentication.authenticators;

import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import lombok.extern.jbosslog.JBossLog;
Expand Down Expand Up @@ -46,6 +48,8 @@ public void authenticate(AuthenticationFlowContext context) {
ATTRIBUTE_NAME,
List.copyOf(
Stream.concat(newRequiredActions.stream(), oldRequiredActions.stream())
.filter(Objects::nonNull)
.filter(Predicate.not(String::isBlank))
.collect(Collectors.toSet())));
newRequiredActions.forEach(user::removeRequiredAction);
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</scm>

<properties>
<revision>1.7.0</revision>
<revision>1.8.0</revision>
<github.account>LucaFilipozzi</github.account>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<keycloak.version>18.0.2</keycloak.version>
Expand Down

0 comments on commit 3cd6bc8

Please sign in to comment.