-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.1.0.CR2
-
None
NPE is thrown during authentication if a LoginModule doesn't set any principal to the Subject.
The problem comes from org.wildfly.extension.undertow.security.AccountImpl constructor call principal.getName().
Caused by: java.lang.NullPointerException at org.wildfly.extension.undertow.security.AccountImpl.<init>(AccountImpl.java:61) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verifyCredential(JAASIdentityManagerImpl.java:123) ...