-
Bug
-
Resolution: Done
-
Minor
-
1.4.3.Final
-
None
-
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.
- clones
-
JBEAP-6727 Missing null check in SecurityContextImpl
- Closed