Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ SaslResult doResponse(int _auth, String _uid, String _kernelUid, SASL.Command _c
case AUTH_ANON:
return SaslResult.OK;
case AUTH_EXTERNAL:
if (0 == COL.compare(_uid, _c.getData()) && (null == _kernelUid || 0 == COL.compare(_uid, _kernelUid))) {
if ((_c.getData() != null && COL.compare(_uid, _c.getData()) == 0)
&& (_kernelUid == null || COL.compare(_uid, _kernelUid) == 0)) {
return SaslResult.OK;
} else {
return SaslResult.REJECT;
Expand Down
Loading