Description of problem:
If the client use authentication and the passwords is really long, the SASL request or kerberos ticket is huge the attempt will fail.
In the same environment authentication for other users work correct.
The shown message within the server log is
TRACE [org.jboss.remoting.remote.connection handleEvent] (Remoting "gravity" read-1) Connection error detail: java.io.IOException: Received an invalid message length of 11857
at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:106) [xnio-api-3.0.15.GA-redhat-1.jar:3.0.15.GA-redhat-1]
at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:229) [jboss-remoting-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]
Actual results:
User with such large login parameters are not working
Additional info:
Set larger buffer size with
org.jboss.remoting3.RemotingOptions.RECEIVE_BUFFER_SIZE
org.jboss.remoting3.RemotingOptions.SEND_BUFFER_SIZE
will not help