-
Bug
-
Resolution: Done
-
Minor
-
7.1.0.DR7
-
None
There is missing null check in io.undertow.security.impl.SecurityContextImpl.ChallengeSender.transition() method. Method mechanism.sendChallenge can return null (interface AuthenticationMechanism can have various implementations) which leads to NPE for calling some method on its result without null check. See [1].
There should be null checker in SecurityContextImpl.ChallengeSender.transition() method or documentation of io.undertow.security.api.AuthenticationMechanism.sendChallenge should explicitly say that this method must not return null.
- is cloned by
-
UNDERTOW-883 Missing null check in SecurityContextImpl
- Resolved