This limit is fixed by the PLAIN SASL mechanism which is used with JAAS authentication so can not currently be expanded. We could consider an optional property to make it longer if you would like to raise a Jira feature request in the JBoss SASL project.
What type of client is this that is connecting?