Commit 8d408bae authored by Tom Evans's avatar Tom Evans Committed by tevans

OF-287: After SASL PLAIN authentication, return the resulting authorized user...

OF-287: After SASL PLAIN authentication, return the resulting authorized user id (as set/mapped by the callback), rather than the original (input) authorization id.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13399 b35dd754-fafc-0310-a699-88a17e54d16e
parent aabfb76e
......@@ -124,7 +124,7 @@ public class SaslServerPlainImpl implements SaslServer {
AuthorizeCallback acb = new AuthorizeCallback(principal,username);
cbh.handle(new Callback[]{acb});
if(acb.isAuthorized()) {
username = acb.getAuthorizationID();
username = acb.getAuthorizedID();
completed = true;
} else {
completed = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment