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.
1 parent 4260c20 commit 61d39feCopy full SHA for 61d39fe
server/src/main/java/password/pwm/bean/LoginInfoBean.java
@@ -32,9 +32,7 @@
32
33
import java.io.Serializable;
34
import java.time.Instant;
35
-import java.util.ArrayList;
36
import java.util.EnumSet;
37
-import java.util.List;
38
import java.util.Set;
39
40
@@ -72,7 +70,7 @@ public enum LoginFlag
72
70
private AuthenticationType type = AuthenticationType.UNAUTHENTICATED;
73
71
74
@SerializedName( "af" )
75
- private List<AuthenticationType> authFlags = new ArrayList<>();
+ private Set<AuthenticationType> authFlags = EnumSet.noneOf( AuthenticationType.class );
76
77
@SerializedName( "as" )
78
private PwmAuthenticationSource authSource;
0 commit comments