The following fails because the simplified format parser doesn't know how to handle '\' linebreaks.
/subsystem=security/security-domain=DemoAuthRealm/authentication=classic:add( \
login-modules=[ \
{ \
code=Database, \
flag=required, \
module-options=[ \
unauthenticatedIdentity=guest, \
dsJndiName=java:jboss/jdbc/ApplicationDS, \
principalsQuery=select password from users where username=?, \
rolesQuery = "select name, 'Roles' FROM user_roless ur, roles r, user u WHERE u.username=? and u.id = ur.user_id and ur.role_id = r.id", \
hashAlgorithm = MD5, \
hashEncoding = hex) \
] \
}
\
] \
)