Hello
I'm using Openfire 3.8.1withWindows Server 2008 R2 and Spark 2.6.3 Clients on XP, Win 7 and 8.
I haverecently switched to SSO usingthis tutorial: http://community.igniterealtime.org/docs/DOC-1362
Loginfor userswithno blank spacesintheirusernamesworkswithoutany flaws.
But: Users with blank spaces in the username getfollowing error message:
Single SideLogon Failed- Please check yourpreferences
Theopenfiredebugshowsthe following for User "Test Test":
2013.04.16 16:36:24 org.jivesoftware.openfire.auth.AuthorizationManager - AuthorizationManager: Trying Default Policy.authorize(test\20test , Test Test@EXAMPLE.LOCAL)
2013.04.16 16:36:24 org.jivesoftware.openfire.auth.DefaultAuthorizationPolicy - DefaultAuthorizationPolicy: usernames don't match (test\20test Test Test)
2013.04.16 16:36:24 org.jivesoftware.openfire.net.SASLAuthentication - SASLAuthentication: SaslException
javax.security.sasl.SaslException: Problem with callback handler [Caused by javax.security.sasl.SaslException: Test Test@EXAMPLE.LOCAL is not authorized to connect as test\20test]
...
Caused by: javax.security.sasl.SaslException: Test Test@EXAMPLE.LOCAL is not authorized to connect as test\20test
code snippet from DefaultAuthorizationPolicy.java:
if(!userUser.toLowerCase().equals(authenUser.toLowerCase())){
if (Log.isDebugEnabled()) {
Log.debug("DefaultAuthorizationPolicy: usernames don't match ("+userUser+" "+authenUser+")");
}
return false;
}
What am I doing wrong? It is possibleto usewithusernames with spaces?